-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authentication issue #153
Comments
sorry i need to pass another parameter |
The above error is happening and i installed all the latest software today. using python 3.8 with Azure ML using AML jupyter |
Hi @balakreshnan. Thanks for reporting this issue. We are looking into it and will provide an update. |
I am having the same error. Was there an update to this issue? |
See telstrapurple/MSTeamsChatExporter#4 for a solution. It would be helpful if Microsoft documented this. Or even better, if the error message actually made sense. |
thanks for reporting this issue, we have since released a new version of the SDK which this issue doesn't apply to. We encourage you to migrate to the new version and open a new issue if you still need help |
Describe the bug
DeviceCodeCredential.get_token failed: Authentication failed: AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret'.
Trace ID: 22c04acd-a816-42bc-bb4f-5f1c8dcb4c02
Correlation ID: 3c90998d-702c-4bd9-9ae3-02eeb373883b
Timestamp: 2022-12-01 19:02:02Z
Content: {"error":"invalid_client","error_description":"AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret'.\r\nTrace ID: 22c04acd-a816-42bc-bb4f-5f1c8dcb4c02\r\nCorrelation ID: 3c90998d-702c-4bd9-9ae3-02eeb373883b\r\nTimestamp: 2022-12-01 19:02:02Z","error_codes":[7000218],"timestamp":"2022-12-01 19:02:02Z","trace_id":"22c04acd-a816-42bc-bb4f-5f1c8dcb4c02","correlation_id":"3c90998d-702c-4bd9-9ae3-02eeb373883b","error_uri":"https://login.microsoftonline.com/error?code=7000218","claims":"{\"access_token\":{\"capolids\":{\"essential\":true,\"values\":[\"01e95e51-d161-4922-8776-747a86759589\",\"a5f338a6-266a-4dea-83e7-cd58e84f8929\"]}}}"}
graphUserScopes = [ "User.Read"]
device_code_credential = DeviceCodeCredential(client_id, tenant_id = tenant_id)
user_client = GraphClient(credential=device_code_credential, scopes=graphUserScopes)
result = user_client.get('/me')
print(result.json())
The text was updated successfully, but these errors were encountered: