How to get the azure account tenant Id?

后端 未结 21 1403
故里飘歌
故里飘歌 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:43

    In PowerShell:

    Add-AzureRmAccount #if not already logged in 
    Get-AzureRmSubscription -SubscriptionName  | Select-Object -Property TenantId
    

提交回复
热议问题