Filip Kasaj

I can act how I want, but I can't want what I want.

User Tools

Site Tools


technet:msgraph:tenantid

Tenant ID resolver

https://www.michev.info/Blog/Post/3970/find-tenantid-by-domain-name-and-vice-versa-by-leveraging-the-graph-api

One interesting bit that caught my attention was the addition of the tenantInformation resource type and two methods related to it, namely: findTenantInformationByDomainName and findTenantInformationByTenantId. The first method can be used to quickly find out whether a given domain is in use within Microsoft 365 and which organization it belongs to, along with the tenant ID.

  1. GET
  2. https://graph.microsoft.com/beta/tenantRelationships/findTenantInformationByDomainName(domainName='office365itpros.com')\\
  3.  
  4. GET
  5. https://graph.microsoft.com/beta/tenantRelationships/findTenantInformationByTenantId(tenantId='b662313f-14fc-43a2-9a7a-d2e27f4f3478')
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
technet/msgraph/tenantid.txt · Last modified: 2023/06/14 09:43 by A User Not Logged in