Forum Discussion

Eric Adler's avatar
Eric Adler
Steel Contributor
Jul 21, 2017

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.

  • There 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.com
    • Curtis Johnstone's avatar
      Curtis Johnstone
      MVP

      Hi 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 Crevier's avatar
        Sebastien Crevier
        Brass Contributor

        Hi Curtis, yes we are getting that info from the OpenID Connect configuration endpoint which maps domain names to tenant IDs.

    • edwardsdna's avatar
      edwardsdna
      Brass Contributor

      The tool works like a charm.  Like hitting the Big Red Easy button ;)  Thanks Sebastien.

    • SN N's avatar
      SN N
      Copper 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?

    • Christopher Brown's avatar
      Christopher Brown
      Copper 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. 

      • NunoAriasSilva's avatar
        NunoAriasSilva
        MVP

        Hi Christopher,

         

        I cannot edit it, is a read only data with the identity of your Tenant.

         

        What do you need to do ?

      • Girish_Prajwal's avatar
        Girish_Prajwal
        Copper 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

    • y2anoop's avatar
      y2anoop
      Copper Contributor
      You can find it in LCS as well.
      GO to you project and click on subscriptions link on right side of the screen

Resources