Hi @Dhruvin Moradiya
This indicates that the API audience of your access token is inconsistent with the API endpoint you are calling.
When you get an access token, you should set the values of Scope
, Auth URL
, Access Token URL
to:
Scope: https://graph.microsoft.com/.default offline_access
Auth URL:https://login.microsoftonline.com/common/oauth2/v2.0/authorize
Access Token URL:https://login.microsoftonline.com/common/oauth2/v2.0/token
Call the Graph API:
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.