- response error code - OrganizationFromTenantGuidNotFound

DEV TEST 0 Reputation points

Listing the inbox mails do we need to buy subscription plan? After generating the OAuth 2.0 token and calling this method and the response is

{"error":{"code":"OrganizationFromTenantGuidNotFound","message":"The tenant for tenant guid
'8baab99c-e9d6-4f36-a518-11ad2e86e412' does not
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,797 questions
{count} votes

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 37,706 Reputation points

    Hi @DEV TEST

    Yes, you need to have an O365 license to list mail, users with an O365 license will be automatically assigned an EXO mailbox.

    User's image

    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.