none
How to get Azure Active Directory Tenant ID in Azure portal ?

Answers

  • From the Portal, if you click on the Help icon in the upper right and then choose 'Show Diagnostics' you can find the tenant id in the diagnostic JSON.
    Tuesday, May 17, 2016 11:54 AM
  • Hello,

    Currently the Azure portal doesn't have a way to retrieve the TenantID. Your feedback is valuable to us and we have relayed your feedback to our Product Development team for future product revisions.

    Out of curiosity, can you please share the example/scenario on what you are trying to achieve? This will help our entire team understand your perspective.

    Regards,

    Shravan

    Thursday, October 30, 2014 8:52 PM
    Moderator

All replies

  • Hello,

    Thanks for posting here!

    I'm discussing this with the Active Directory team and would require some time to get back to you with the right answer.

    Best Regards,

    Sadiqh Ahmed

    Wednesday, October 15, 2014 8:10 PM
    Moderator
  • Hello,

    Currently the Azure portal doesn't have a way to retrieve the TenantID. Your feedback is valuable to us and we have relayed your feedback to our Product Development team for future product revisions.

    Out of curiosity, can you please share the example/scenario on what you are trying to achieve? This will help our entire team understand your perspective.

    Regards,

    Shravan

    Thursday, October 30, 2014 8:52 PM
    Moderator
  • There seems to be no way to see it in the portal. But when you login to manage.windowsazure.com and mark the Active Directory you can find it in the URL in the browser, if that helps you.
    Wednesday, April 15, 2015 1:50 PM
  • Shravan,

    An old topic I know, but the reason I need to know Tenant ID is because it has to go into configuration parameters for a SharePoint 2013 hosted in Azure VM custom claims provider (AzureCP on codeplex) to connect it to Azure AD.

    I've had to extract it from the Url:

    https://manage.windowsazure.com/serco.onmicrosoft.com#Workspaces/ActiveDirectoryExtension/Directory/<Tenant ID GUID>/directoryQuickStart

    Would be nice if it was just displayed on page somewhere.

    Friday, October 16, 2015 10:38 AM
  • If you go to the Azure AD Quick Start Page, Click on 'Develop Applications' and the select View Authentication and Authorization Endpoints. It is also displayed there.

    Granted it is still not in an obvious place, but we shall ensure the AUX Team get this feedback and it is something we could possibly include in the New UI (portal.azure.com).

    As well as PowerShell you can also use Graph API to get the 'Company' Object GUID

    https://graph.windows.net/contoso.onmicrosoft.com/tenantDetails

    Many Thanks,

    James.


    Senior Escalation Engineer | Azure AD Identity & Access Management


    Sunday, October 18, 2015 1:20 AM
  • From the Portal, if you click on the Help icon in the upper right and then choose 'Show Diagnostics' you can find the tenant id in the diagnostic JSON.
    Tuesday, May 17, 2016 11:54 AM
  • Hello - I am trying to connect to cloud instance of D365 for operations odata service through my custom app and it requires to provide AAD tenant in URI format. I do have a tenant ID which is not acceptable by the Authorization class I obtained from Microsoft. Is it possible to get it? How can I get the tenant Name or Id in URI format? 

    • Edited by fahahm Friday, April 21, 2017 5:34 AM
    Friday, April 21, 2017 5:29 AM
  • Go to AD In new Azure Portal, click Properties to get Directory ID/TenantID.

    PrtkDv

    Friday, August 04, 2017 1:45 AM
  • Hi Shravan,

    From last 2months i am using Azure AD frequently. With free trial i came here and right now my subscription is Pay-as-you-go, recently i got an email from Azure saying your free trial is going to be delated because it is expired.

    For that i am trying to get info of directory or tenant with free trial ID. On checking free trial id from email, it is not matching to any of my Directory's. I just want to make sure which free trial is azure going to delete. 

    <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Helvetica Neue'; color: #454545} </style>

    Free Trial: ****************************

    Thank you,

    Venuu



    Thursday, September 21, 2017 5:37 AM
  • @Vennu, the subscription ID you shared is in cancelled state. If you want to know the status of your previous subscriptions and Azure free trial, you may contact Azure subscription Management team by creating a free support ticket. Here is the link https://docs.microsoft.com/en-in/azure/azure-supportability/how-to-create-azure-support-request to create support case.

    -----------------------------------------------------------------------------------------------------------------------------------
    Do click on "Mark as Answer" on the post that helps you and vote it as helpful, this can be beneficial to other community members.

    Thursday, September 21, 2017 7:10 AM
    Moderator
  • @Sadiqh Ahmed, Thank you. The above mentioned free trial may be used long back ago right now i am using different tenant with subscription Pay-as-you-go. When i check above subscription ID i didn't found in my subscriptions/tenants list that is the reason i just posted here to make sure the current using subscription is different from effected.

    Could you please help how to know the above canceled subscription is different from current subscription i am using. (as you edited my post i am not giving current subscription tenant ID here)

    Thank you,

    Venuu

    Thursday, September 21, 2017 11:57 AM
  • Both the subscription ID's would be different. I would still recommend you to contact Azure subscription management team to get more clarity on this.

    -----------------------------------------------------------------------------------------------------------------------------------
    Do click on "Mark as Answer" on the post that helps you and vote it as helpful, this can be beneficial to other community members.

    Sunday, September 24, 2017 5:55 AM
    Moderator