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.
661 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,445 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 40,311 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}