InvalidAuthenticationToken. Access token validation failure. Invalid audience. Error while accessing MS Graph api
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2020 05:26 AM
Hi Friends,
I am trying create an event in MS Teams using the Microsoft Graph API.
1. As a first step I have created an application in Azure Portal as below and added the necessary permission I need for my endpoint and granted the admin consent for those permissions.
2. I have also configured the Application Registry in servicenow as below.
3. I have created a rest message as below to get the Token. I am able to get the token successfully. But the problem is in the next step.
44. I pass the retrieved token to my next rest message to create the event in ms teams.
But I get the the following error.
Has anyone tried this scenario and facing similar issues and managed to resolve this.
Thankyou,
Maria Charles