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
The Azure Tenant ID is a Global Unique Identifier (GUID) for your Microsoft 365 Tenant. It's also referred to as the Office 365 Tenant ID. The ID is used to identify your tenant and it's not your organization name or domain name. There are different ways to get your Azure Tenant ID.
To retrieve your tenant id using PowerShell you simply need to connect to your Azure AD using the Connect-AzureAD commandlet. This commandlet is part of the AzureAD module, so if you don't have this module installed already, you need to grab it from the PowerShell Gallery: Install-Module AzureAD.
Tenant Id - this is the unique identifier of the Azure Active Directory instance. Client Id - this identifier will be assigned when Seq is set up as an application in the directory instance (the new Azure portal calls this Application Id) Client Key - this is the secret key Seq will use when communicating with AAD.
Time changes everything. I was looking to do the same recently and came up with this:
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.
The tenant ID is tied to ActiveDirectoy in Azure
Azure ActiveDirectory Tenant ID:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With