(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