Getting error "The tenant for tenant guid does not exist."

Surbhi 0 Reputation points
2023-01-23T18:51:11.1366667+00:00

I am getting this error "The tenant for tenant guid does not exist." while trying to get list of events from calendar api. I am using personal account and have created an app. I have also added permissions to read and readwrite calendar. I have also made user the member.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,581 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bhanu Kiran 3,526 Reputation points
    2023-01-23T23:25:25.2633333+00:00

    Hello @Surbhi,

    Hope you're doing well.

    'The tenant for tenant guid does not exist' occurs when your Azure AD does not have Office 365 account to work. Therefore it cannot have /events. /users works because that is an Azure AD endpoint.

    Please refer to this post for detailed information:

    https://learn.microsoft.com/en-us/answers/questions/804104/index.html

    Hope this helps.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".

    0 comments No comments