Can we get tenant/organization status from MS Graph API

Ning Wang 21 Reputation points Microsoft Employee
2021-02-23T09:09:44.257+00:00

Hi, we are the Microsoft internal team and we are building a service fully on Azure. Our app does not need user/admin engagement, it is fully a backend job. We want to know does MS Graph has such API that can allow us to check a specific tenant/organization status, like active, suspend, soft deleted, hard delete, etc. If such API exists, what permission do we need to apply and how to use it. Thanks.

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

Accepted answer
  1. Shashi Shailaj 7,581 Reputation points Microsoft Employee
    2021-02-25T21:19:33.867+00:00

    Hello @Ning Wang ,

    At this point this functionality to interact with tenant object at this level is only available to some apps internally . Currently you will need to do this via Azure portal , CSP portal or Office 365 portal which creating a tenant . This functionality is not exposed through Microsoft Graph. A few similar requests have been filed in user voice. Please check the same.

    https://feedback.azure.com/forums/169401-azure-active-directory/suggestions/38740858-create-azure-ad-programmatically
    https://feedback.azure.com/forums/169401-azure-active-directory/suggestions/38699395-delete-directory-programatically
    https://feedback.azure.com/forums/169401-azure-active-directory/suggestions/38743126-programatically-provision-and-manage-aad-b2c-tenan

    I would suggest you to upvote and provide your requirements on the related uservoice feature request . The uservoice feedback portal is periodically reviewed by the product group for prioritizing new features based on customer demand, feasibility and other factors. Hope this helps provide the clarification.

    Thank you.


0 additional answers

Sort by: Most helpful