Share via


(Cloud) Tip of the Day: How to get Tenant ID using Azure AD PowerShell

Today’s Tip…

Sometimes, you need to get the TenantID of an Azure AD or Office 365 tenant. This is how you can get it…

Run the following command when using Azure AD PowerShell

Get-MSOLCompanyInformation | select objectID

For more information, see https://msdn.microsoft.com/en-us/library/dn194126.aspx

Comments

  • Anonymous
    June 22, 2016
    Thanks for the useful tip...
  • Anonymous
    May 02, 2017
    Great. Thanks for the tip and help!