Immutable solution version
How to get the azure account tenant Id?
Complete solution
[Kevin R.
[Kevin R. (top answer)] Time changes everything. I was looking to do the same recently and came up with this: Note added 02/17/2021 Stable Portal Page thanks Palec 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" Azure ActiveDirectory Tenant ID:
Context: Stack Overflow #26384034 (top answer, 274 votes, 28 answers): 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 able to get the tenant ID and subscriptions ID from powershell. Is it the only way to retrieve the tenant? Get Windows Azure Active Directory Tenant ID in Windows PowerShell Windows Azure AD authentication support for PowerShell Thanks
Evidence
Source: Stack Overflow #26384034 (top answer, 274 votes, 28 answers): 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 able to get the tenant ID and subscriptions ID from powershell. Is it the only way to retrieve the tenant? Get Windows Azure Active Directory Tenant ID in Windows PowerShell Windows Azure AD authentication support for PowerShell Thanks
Verified resolution: [Kevin R. (top answer)] Time changes everything. I was looking to do the same recently and came up with this: Note added 02/17/2021 Stable Portal Page thanks Palec 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" Azure ActiveDirectory Tenant ID:
Source URL: https://stackoverflow.com/questions/26384034
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_jYigxRDnrJi3KnJrnpdfgg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">How to get the azure account tenant Id? <span>— Vectle</span></a>