How to get Tenant ID in office 365 step by step

Get tenant id using PowerShell: How to get Tenant ID using Azure PowerShell?

No comments

 2,768 total views,  3 views today

Install AD Connect to Integrate Azu...
Install AD Connect to Integrate Azure AD with On Prem AD

In this “Get tenant id using PowerShell” 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 – Get tenant id using PowerShell

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:

Get tenant id using PowerShell - Microsoft Azure portal - Home Page
Microsoft Azure portal – Home Page

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

Get tenant id using PowerShell - 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 using PowerShell - 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: Get tenant id using PowerShell

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:

 

About Post Author

Do you have a better solution or question on this topic? Please leave a comment