Access token response issue.
sonali dudhia
5
Reputation points
I am having trouble with an access_token generated from the Microsoft Entra account API. The access token has admin consent with the scope of Calendars.Read. But when I use it to fetch the URL, I get a response showing code 401 Unauthorized or {"error":{"code":"OrganizationFromTenantGuidNotFound","message": "The tenant for tenant guid 'xxx' does not exist."}. I have verified that the tenant id is correct.
Strangely, I get a proper response when I use the same steps in the Graph Explorer API tool.
Can someone help me resolve this issue ASAP?
Thanks.
Sign in to answer