Recently I was asked for one of my customers how he can find out his Tenant ID. The Office 365 Tenant ID is a globally unique identifier (GUID) that different from out Tenant name and/or domain.

However, this is not a problem, because there are just some few reasons, why we need to figure out this identifier. In the case of my customer, the reason was to configure the group policies for OneDrive.

If we know how, it is very easy to find out the Office 365 Tenant ID. Yes, everything it is easy if we know how to do, but in this case, I am sure after showing it once, you will always remember it.

Finding by Azure AD portal:

To find the Tenant ID by using the Azure portal, we need to have administrator permissions. After we have logged-in to the Azure portal, we browse to Azure AD.

Here we need to click on Manage and then Properties:

Now you are able to see the Directory ID, which is actually your Office 365 Tenant ID:

Another way to get the ID is using PowerShell.

For that, you have to make sure, that you have installed the Microsoft Azure PowerShell module. Here you need to open a Microsoft Azure PowerShell command window and use your Office 365 credentials for logging in. Now you run the following command:


Then you will see your Tenant ID in the output listed.