Entra Tenant Information API

Entra Tenant Information API

The API is available from this endpoint:

https://api.tophhie.cloud/tenantinfo


To utilise the API, you need one of the following:

  • The tenant ID
  • A domain name used within the tenant


Once you have either the tenant ID or the domain name, you're ready to use the API. Depending on which one of these you have, depends on the query parameter used.


If you have the tenant ID, specify "tenantID" as the query parameter:


If you have the domain name, specify "domainName" as the query parameter:


Let's take the Microsoft tenant for example, to get information about the Microsoft tenant, you could use either of the following:


Once you call the API, you'll receive either a JSON object response (if the request is successful) or a standard text response with an error message.


The success response will always have a 200 status code.


The successful JSON object will look like:


{
"tenantId": string,
"federationBrandName": string or null,
"tenantDisplayName": string,
"defaultDomainName": string,
"bannerLogo": string (may be empty),
"tenantRegion": string,
"desktopSsoEnabled": boolean,
"verifiedEmailSignUpDisallowed": boolean or null,
"tenantIsUnmanaged": boolean or null,
"verifiedDomains": integer,
"additionalDomains": [string]
}


Any status other than 200, means there was an error, and the text will indicate what the error was.


Try it and let us know what you think! If you run into any issues, you can reach out to our API support email address at api-support@tophhie.cloud.

    • Related Articles

    • I'm receiving a token request error...

      If you are receiving an error message similar to the above when you first add the "Tophhie Cloud Greetings" web part to one of your SharePoint sites, this is usually an indicator that your SharePoint Online tenant has enhanced security protections in ...
    • Revoking all shared list access

      We understand that there's sometimes situations that may require you to "reset" or "remove" everyone's access to your lists, effectively resetting your Marvelist to a state where only you have access to your data. We've created a very simple way to ...
    • Repo Deletion Process

      It's your data. If you decide to leave us, you should be able to trust that we'll delete your data from our servers. Tophhie Social was built with privacy, trust, and transparency right at the forefront of our minds. Our Privacy Policy outlines how ...