How to get the azure account tenant Id?

后端 未结 21 1470
故里飘歌
故里飘歌 2020-11-30 17:47

My question is: Is it possible to get the azure active directory tenant id without using powershell command?

I found this two blogs and with this help, I\'m already

21条回答
  •  囚心锁ツ
    2020-11-30 18:41

    Time changes everything. I was looking to do the same recently and came up with this:

    Note

    added 12/18/2017

    As indicated by shadowbq, the DirectoryId and TenantId both equate to the GUID representing the ActiveDirectory Tenant. Depending on context, either term may be used by Microsoft documentation and products, which can be confusing.

    Assumptions

    • You have access to the Azure Portal

    Solution

    The tenant ID is tied to ActiveDirectoy in Azure

    • Navigate to Dashboard
    • Navigate to ActiveDirectory
    • Navigate to Manage / Properties
    • Copy the "Directory ID"

    Yes I used paint, don't judge me.

提交回复
热议问题