How to know if a Microsoft 365 tenant is business tenant or education tenant?

Lynn Niu 236 Reputation points
2022-06-28T05:48:48.73+00:00

Is there a way or a Microsoft Graph Api to let me know that the Microsoft 365 tenant is education tenant?

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
752 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,992 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 45,101 Reputation points
    2022-06-28T10:25:44.877+00:00

    Hi @Lynn Niu

    Try calling the /organization endpoint and look at the tenantType property.

    GET https://graph.microsoft.com/v1.0/organization/{tenant id}  
    

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.