In this post, we will discuss how to 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.
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.
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:
Then it will display a dialog box which will show the tenant id like below:
You may like the following office tutorials:
- 10 Tips To Get The Most Out Of Office 365
- Document deletion policy in SharePoint Online Office 365
- How to Remove Former Employee License and User account in Office 365
- Create client side People Picker control in SharePoint Online Office 365
- Create a New Service Request in Office 365 Account
- Microsoft office 365 chatbot
I hope this article helps to learn how to get office 365 tenant id for sharepoint online site?
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 SPGuides.com