You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @nakasix thanks for using the SDK and for raising this.
While this is currently not supported due to metadata constraints, there are multiple ways you can do this via Raw URL calls through the SDK or using the python requests library: Using python requests
Once you have the access token, you can always do requests using requests library or urllib.
credentials=ClientSecretCredential(tenant_id=tenant_id,
client_id=client_id,
client_secret=client_secret)
# Scope for Microsoft Graph API (default scope)scopes= ["https://graph.microsoft.com/.default"]
# Create the GraphClient using the token from the credentialclient=GraphServiceClient(credentials=credentials, scopes=scopes)
token=credentials.get_token(*scopes).token# use the url you are interested in hereurl="https://graph.microsoft.com/v1.0/users"headers= {
"Authorization": f"Bearer {test_token}",
}
response=requests.get(url, headers=headers)
Is your feature request related to a problem? Please describe the problem.
Hello,
I would like to set an unset reaction on chatMessage, but I don't think the SDK supports it.
Is it possible to add it?
Describe the solution you'd like.
For example:
Additional context?
In the meantime is it possible to make a post with a raw URL and data with SDK ? A possible example :)
I tried that, but it didn't work :(
Or is it possible to retrieve the access_token from SDK to use the requests module?
The text was updated successfully, but these errors were encountered: