Call us:


Blog Details

How To Find Tenant Id In O365

Are you struggling to find your tenant ID in o365? You’re not alone. Many users find it challenging to locate this crucial piece of information. But fear not, because in this short guide, we’ll show you the easiest ways to track down your tenant ID in o365.

When it comes to finding your tenant ID in o365, there are a couple of methods you can try. One option is to use PowerShell, which provides a streamlined and efficient way to retrieve this information. Another approach is to navigate to the Azure portal, where you can explore your Active Directory settings and find the tenant ID listed. By utilizing these techniques, you’ll be able to quickly access your tenant ID and continue your work in o365 without any hassle.

how to find tenant id in o365

Understanding Tenant ID in Office 365

As an expert user of Office 365, it is essential to understand the concept of Tenant ID and how to find it within the platform. The Tenant ID is a unique identifier assigned to each Office 365 tenant, representing an organization’s instance in the cloud. It plays a crucial role in various administrative tasks, such as configuring settings, managing licenses, and integrating third-party applications.

Why Do You Need to Find Your Tenant ID?

Finding your Tenant ID is necessary for several reasons. Firstly, it allows you to validate your domain during the setup process and prove ownership to Microsoft. Secondly, it is required for configuring single sign-on (SSO) to streamline user authentication and enhance security. Additionally, some administrative tasks, such as accessing the Office 365 API, require the use of the Tenant ID. Therefore, understanding how to locate your Tenant ID is essential for efficient management of your Office 365 environment.

Finding Your Tenant ID through the Azure Portal

The Azure Portal is a powerful tool that can be used to find your Tenant ID in Office 365. Follow these steps to locate your Tenant ID:

  • Sign in to the Azure Portal using your Office 365 administrator credentials.
  • In the Azure Portal dashboard, search for and select “Azure Active Directory.”
  • Within the Azure Active Directory blade, click on “Properties.”
  • Under the “Tenant information” section, you will find your Tenant ID.

Make note of your Tenant ID as it will be required for various administrative tasks within Office 365.

Locating Your Tenant ID through PowerShell

If you prefer to use PowerShell, you can also find your Tenant ID using the Azure AD PowerShell module. Follow these steps:

  • Install the Azure AD PowerShell module if you haven’t already.
  • Open PowerShell and connect to Azure AD by running the following command:
  • Once you are connected to Azure AD, run the following command to retrieve your Tenant ID:

The output of this command will display your Tenant ID. Make sure to record it for future reference.

Alternative Methods to Find Your Tenant ID

If you are unable to find your Tenant ID using the Azure Portal or PowerShell, there are alternative methods available:

1. Office 365 Admin Center

In the Office 365 Admin Center, navigate to the “Settings” section and click on “Organization Profile.” Your Tenant ID will be listed under the “Subscription” heading.

2. Azure AD Graph Explorer

The Azure AD Graph Explorer is a web-based interface that allows you to interact with the Azure AD Graph API. By running a specific query within the explorer, you can retrieve your Tenant ID. Visit the Azure AD Graph Explorer website, sign in using your Office 365 administrator credentials, and execute the following query:$select=objectId

3. Command Prompt

If you are comfortable using the command prompt, you can find your Tenant ID by running the following command:

dsquery * "CN=Configuration,DC=Your-Domain,DC=com" -scope base -attr msDS-ConsistencyGuid

Replace “Your-Domain” with your actual domain name. The output will include your Tenant ID.

Exploring Tenant ID within Office 365 Applications

Tenant ID is not only relevant for administrative tasks but can also be useful within various Office 365 applications. Here are some common scenarios where your Tenant ID comes into play:

1. SharePoint Online

In SharePoint Online, the Tenant ID is used in the URL structure of site collections. It helps identify the specific SharePoint site within your Office 365 environment.

2. Microsoft Teams

When integrating Microsoft Teams with third-party applications or services, the Tenant ID is often required to establish the connection and enable necessary permissions.

3. Azure Active Directory

For advanced identity and access management configurations, the Tenant ID is used in Azure Active Directory (Azure AD) to set up connections, define policies, and manage user authentication.

4. Exchange Online

In Exchange Online, the Tenant ID is sometimes required when configuring mail flow rules, managing distribution groups, or setting up connectors with external services.


Locating your Tenant ID in Office 365 is a crucial step for proper administration and configuration of your environment. Whether you prefer using the Azure Portal, PowerShell, or alternative methods, knowing your Tenant ID allows you to perform various administrative tasks and integrate with other Office 365 applications. Make sure to keep your Tenant ID accessible for future reference and always prioritize security when handling administrative credentials.

Finding Tenant ID in o365

When working with Office 365 (o365), it is essential to know how to find the Tenant ID. The Tenant ID is a unique identifier assigned to each tenant in the Microsoft cloud ecosystem. It is crucial for various administrative tasks and integrations. Here are two methods to find the Tenant ID:

Method 1: Using PowerShell

  • Open the PowerShell command prompt on your local machine.
  • Type the following command: Connect-MsolService.
  • Enter your Office 365 admin credentials.
  • Execute the command: Get-MsolCompanyInformation.
  • Locate the value of the “ObjectId” property, which represents the Tenant ID.

Method 2: Using Azure Portal

  • Go to the Azure Portal and sign in with your Office 365 admin account.
  • Search for “Azure Active Directory” and select the corresponding service.
  • In the left sidebar, click on “Properties.”
  • Under “Directory ID,” you will find the Tenant ID.

Knowing how to find the Tenant ID in o365 is essential for managing your Office 365 environment and integrating it with various third-party applications and services. Whether you choose to use PowerShell or the Azure Portal, both methods provide a reliable way to locate your Tenant ID.

Key Takeaways – How to Find Tenant ID in O365

  • Step 1: Go to the Microsoft 365 admin center.
  • Step 2: Click on the “Admin” app in the app launcher menu.
  • Step 3: Navigate to the “Settings” tab.
  • Step 4: Scroll down to the “Organization profile” section.
  • Step 5: Locate the “Organization information” card.
how to find tenant id in o365 2

In conclusion, finding the Tenant ID in O365 is a straightforward process that requires a few simple steps. By accessing the Azure portal and navigating to the Azure Active Directory, you can easily locate the Tenant ID for your organization.

Once you have your Tenant ID, you can use it for various purposes, such as configuring applications, accessing API endpoints, or integrating with other services. It is an essential piece of information that helps identify your organization within the O365 environment.

× Let Us help you!