The token contains no permissions, or permissions can not be understood.

venkatasiva.bommu 6 Reputation points
2021-05-23T06:36:41.387+00:00

Please help us below issue98856-token.jpg.

API : GET /users/{id | userPrincipalName}/events

Error : {'error':{'code':'NoPermissionsInAccessToken','message':'The token contains no permissions, or permissions can not be understood.','innerError':{'oAuthEventOperationId':'35d0f7c4-47ca-49eb-b421-b07f1ef8447a','oAuthEventcV':'dx/Z36Qu5kCH0Ws+YAKl1w.1.1','errorUrl':'https://aka.ms/autherrors#error-InvalidGrant','requestId':'f591d2eb-c891-48ef-8eae-d80966a641a1','date':'2021-05-20T05:43:42'}}}

Observation: Using OAuth connectivity salesforce to Microsoft graph API we establish connectivity and few APIs working, but calendar API we facing the above error message.

Token roles:
"roles": [
"Place.Read.All",
"Mail.ReadWrite",
"User.ReadWrite.All",
"Calendars.Read",
"Mail.ReadBasic.All",
"People.Read.All",
"User.Invite.All",
"User.Read.All",
"Files.Read.All",
"Mail.Read",
"Calendars.ReadWrite",
"Mail.Send",
"Contacts.Read",
"Mail.ReadBasic"
],

Microsoft Security | Microsoft Graph

1 answer

Sort by: Newest
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    1 deleted comment

    Comments have been turned off. Learn more

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.