Home » Blog » SharePoint Online » How to Get Tenant ID in SharePoint Online? Let’s Find

How to Get Tenant ID in SharePoint Online? Let’s Find

author
Published By Raj Kumar
Anuraag Singh
Approved By Anuraag Singh
Published On August 27th, 2024
Reading Time 4 Minutes Reading

A tenant ID is created for you after subscribing to Microsoft 365 plan. It is a GUID (Global Unique Identifier) that is assigned by Microsoft to its each tenant. Finding your tenant ID is crucial to performing several Microsoft 365 tasks. It includes integrations, configuration of applications, and several administrative tasks. In this article, we will get to know numerous methods on how to get tenant ID in SharePoint Online. We will discuss SharePoint Admin Center, Azure AD, and PowerShell commands to find your tenant ID.

What is a Tenant ID in SharePoint Online?

It is a 32-character globally unique identifier allocated by Microsoft 365 for each subscriber. SharePoint tenant ID plays a vital role in performing administrative tasks to validate whether the administrator executes operations. It is required in several tasks such as automating tasks, integrating third-party applications, and so on.

Why You Should Check Tenant ID in SharePoint Online?

There are numerous reasons to know your Tenant ID. Let’s discuss some key ones in detail.

  • Whenever you need to integrate third-party apps then you need to provide the tenant ID to establish the connection.
  • If you need to run the PowerShell scripts then also need to enter the tenant ID.
  • Some of the administrative tasks also validate your tenant ID before completion of the configuration or any admin task.

How to Get Tenant ID in SharePoint Online Using Admin Center?

Follow the below steps to check the tenant ID from the SharePoint Admin Center.

  • Step 1. Sign in to your SharePoint Admin Center using the appropriate credentials.
  • Step 2. Using SharePoint Admin Center, move to the App pages by choosing the More Features option. Press the Open under Apps.
  • Step 3. On the App pages go to More Features and then App permissions.
  • Step 4. On the App permission page, you can see all of the apps. Look at the “App Identifier” column and you can see the @sybmbol, all the data after that is your tenant ID.

Check Your Tenant ID Using PowerShell

Execute the below commands to know the tenant ID.

$URLofSite = "enter site URL"
Connect-PnPOnline -Url $URLofSite -Credentials (Get-Credential)
Get-PnPTenantID

Note: – After connecting to the admin, you can also use the below commands to find the tenant ID. Get-PnPAuthenticationRealm

Get Your Tenant ID Using Microsoft Entra Admin Portal

Extract tenant ID from Azure AD using PowerShell

$Details = Get-Credential
Connect-AzureAD -Credential $Details | Select TenantDomain, TenantId

You can also use the Azure AD portal to check the tenant ID.

  • Step 1. Log in to the Azure Portal.
  • Step 2. Open the Directory module properties
  • Step 3. Now you can see the tenant ID and other relevant information as well.

Find Your Tenant ID Using URL of Domain

Use the below URL and change your domain name in the URL, then in the first row, you will find the tenant ID after https://login.microsoftonline.com.

https://login.microsoftonline.com//.well-known/openid-configuration.

How to Get Tenant ID in SharePoint Online using Graph API?

Execute the below commands after installing the Microsoft Graph PowerShell.

Connect-MgGraph
Get-MgOrganization | Select ID

By using all of the above approaches, you can find the tenant ID. But there might be a situation in which you need to perform SharePoint tenant to tenant migration knowing the tenant ID.

Then what you will do? What will be your next step? Don’t fret here is the solution. You can use the Most Prominent SharePoint Migration Tool to perform seamless migration.

Download Now Purchase Now

Using this tool, you do not need to get your tenant ID in SharePoint Online. Its impeccable features make the migration process simpler and more efficient.

Concluded Words

In this detailed write-up, we have discussed the numerous methods to check SharePoint Online tenant IDs. You can go with any of the methods that suit you the best. We have also elaborated on the efficient tool that can perform the migration without knowing your tenant ID. Hence your query on how to get tenant ID in SharePoint Online is resolved.

Connect With Us

+9111-28084986