"Organization From Tenant Guid Not Found" Error

Coachfellas 20 Reputation points
2024-04-09T12:49:47.05+00:00

Hi there, I am receiving the following error during an API call.

I have no idea how to troubleshoot.

Would really appreciate any help to solve the issue.

Thanks, Edwin


Error received:

Status code: 401

"code":"OrganizationFromTenantGuidNotFound","message":"The tenant for tenant guid '----------------------' does not exist."

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,021 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,776 questions
{count} votes

Accepted answer
  1. CarlZhao-MSFT 42,026 Reputation points
    2024-04-10T09:12:55.9866667+00:00

    Hi @Coachfellas

    This error indicates that your tenant is missing the necessary MS 365 license. Before that, purchase (or free trial) an MS 365 license for your tenant and grant that license to your target users.

    de2ca1b1-a817-4825-b13c-dcb988c029f7

    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.


1 additional answer

Sort by: Most helpful
  1. Andy David - MVP 147.9K Reputation points MVP
    2024-04-09T12:57:10.4133333+00:00

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.