How to get Tenant ID in office 365 step by step

How to get Tenant ID using Azure PowerShell?

No comments

 1,855 total views,  14 views today

In this blog, we will learn how to get Tenant ID in Microsoft 365 using the Azure PowerShell command very quickly. While we do programming or app development in Power Platform or if you want to expose your application outside your tenant which can be consumed by the third party application, then we need to have the Tenant ID – there are many use cases, these are just some examples.

Get Tenant ID in office 365 from Azure Portal

In order to get the Tenant ID in Office 365, we need to go login to the “https://portal.azure.com/”. Then, we will go to the below page:

Microsoft Azure portal - Home Page
Microsoft Azure portal – Home Page

Type “Azure Active Directory” in the search box and hit on the enter key.

Azure Active Directory in Office 365
Azure Active Directory in Office 365

Then, you can see the tenant overview (basic information), mentioned below:

  • Tenant Name
  • Tenant ID
  • Primary Domain
Get Tenant ID from Microsoft Azure Portal
Get Tenant ID from Microsoft Azure Portal

How to find Tenant ID using the Azure PowerShell?

The way we have found the Tenant ID from the Azure Portal interface, we can find the same tenant ID using the below Azure PowerShell command:

Connect-AzAccount
Get-AzTenant

Summary: Get Tenant ID in office 365

Thus, in this article, we have learned how to get the Tenant ID from the Azure portal step by step and using the Azure PowerShell command.

See Also

You may also like the below Microsoft Teams and modern SharePoint articles:

Would you like to buy SharePoint-based HR365 products?

Here is the list of products that are built on the SharePoint:

Buy the premium version of SharePoint Online & Office 365 administration eBook from here: