Discover Entra ID Tenant ID
How to discover an Entra ID Tenant ID
Last updated
How to discover an Entra ID Tenant ID
Last updated
curl -s 'https://login.microsoftonline.com/<domain-url>/.well-known/openid-configuration' \
| jq -r '.token_endpoint | split("/") | .[3]'brew install powershellpwsh
Install-Module -Name AADInternals
Import-Module -Name AADInternals
Get-AADIntTenantID -Domain <domain-url>