InvalidAuthenticationToken. Access token validation failure. Invalid audience. Error while accessing MS Graph api

Maria Charles
Kilo Contributor

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. 

find_real_file.png

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.

find_real_file.png

 

44. I pass the retrieved token to my next rest message to create the event in ms teams. 

find_real_file.png

 

But I get the the following error.

find_real_file.png

Has anyone tried this scenario and facing similar issues and managed to resolve this.

Thankyou, 

Maria Charles

0 REPLIES 0