Forum Discussion
How do you find the tenant ID?
Looking for my tenant ID. It is an illusive ID. All the info have found seem to reference the prior version of the Azure portal.
Hi Eric,
actually it is pretty easy to find if you know what to look for.
Go to Portal.azure.com > Azure Active Directory > Properties. The directory ID it shows there is your tennant ID.
https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/Properties
- Sebastien CrevierBrass ContributorThere are a lot of ways to do that but none of them are really simple...
Our team got tired of looking everywhere for those tenant Azure & Office 365 IDs so we built an online tool to easily find them by typing in their respective domain.
Hope it might help others too.
https://www.whatismytenantid.comHi Sebastien, that little tool is interesting. What are querying to get that info? No creds are required so it must be a public source, is there a DNS records containing the TenantID ?
Thanks,
- Sebastien CrevierBrass Contributor
Hi Curtis, yes we are getting that info from the OpenID Connect configuration endpoint which maps domain names to tenant IDs.
- edwardsdnaBrass Contributor
The tool works like a charm. Like hitting the Big Red Easy button ;) Thanks Sebastien.
- SN NCopper Contributor
But why Microsoft is exposing this? If i give a domain name i am getting the Tenantid, is it not against security? Isnt it should be confidential?
- Carsten StahlbergBrass Contributor
Hi Eric,
actually it is pretty easy to find if you know what to look for.
Go to Portal.azure.com > Azure Active Directory > Properties. The directory ID it shows there is your tennant ID.
https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/Properties
- Christopher BrownCopper Contributor
I was able to find the Tenant but what would happen if I edit it? We are a non-profit and I was instructed the our Agency name needs to match our Sales Tax information.
Hi Christopher,
I cannot edit it, is a read only data with the identity of your Tenant.
What do you need to do ?
- Texas_DeLuxeCopper Contributor
Carsten Stahlberg Not easy to find at all, but thanks for the info.
- Girish_PrajwalCopper Contributor
Simple way is to type this Azure command from Azure Web explorer.
get-AzSubscription
This will list down all the Subscriptions associated with Tenant and its ID.
Regards,
Girish Prajwal
- y2anoopCopper ContributorYou can find it in LCS as well.
GO to you project and click on subscriptions link on right side of the screen
- Aljohn BonifacioSteel Contributor
You can find your tenant ID using Azure AD Portal or Powershell command. Here's the link for the steps.
- + 1 for PowerShell approach
- PhilStolleryMicrosoft