How to get office 365 tenant id for sharepoint online site?

How to get office 365 tenant id for sharepoint online site?

In this post, we will discuss how we can get the Tenant Id for SharePoint Online site in Office 365. By using PowerShell as well as from browser, we will be able to get the Tenant Id.

Also, you can read:
How to Set up your SharePoint 2013 Online Management Shell to connect to SharePoint online sites?

How to create a developer site in Office 365 SharePoint 2013 Online?

Content Organizer in SharePoint 2013 online

By using PowerShell we can retrieve the Tenant Id like below:

Get-MsolPartnerContract -DomainName onlysharepoint2013.onmicrosoft.com | Select-Object -TenantId [Followed from MSDN]

By using Browser:

The other way is Open your SharePoint Online site, then Navigate to Settings -> Site settings.

Then under Site Collection Administration click on Site collection app permissions.

There you will be able to see your app display name as well as app identifier.

In the App Identifier whatever presented after @ is the Tenant Id. See fig for reference.

If you have not added any app on the site, you can try adding any free or trial app from the office store.

How to get office 365 tenant id for sharepoint online site?
How to get office 365 tenant id for sharepoint online site?

Using Nintex Workflow For Office 365:

One of the other easiest ways to get the tenant id is from Nintex Workflow for Office 365. The best part is you can add a 1-month free version of Nintex Workflow for Office 365 to your online site. From the gear icon you can click on Add an App and then from SharePoint App store you can search for “Nintex Workflow For Office 365” and then you can add the app.

Once you will add the App, you can click on the App from the Site content. Then in the Nintex Workflow for Office 365 home page, click on Information and then About like below:

How to get office 365 tenant id for sharepoint online site?
How to get office 365 tenant id for sharepoint online site?

Then it will display a dialog box which will show the tenant id like below:

How to get office 365 tenant id for sharepoint online site?
How to get office 365 tenant id for sharepoint online site?

Hope this will be helpful.


You May Also like the Following SharePoint Online Tutorials:

About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

View all posts by Bijay Kumar →