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 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 in the site, you can try adding any free or trial app from office store.
Using Nintex Workflow For Office 365:
One of the other easiest way 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 conent. 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:
Hope this will be helpful.
Download FREE SharePoint 2019 Installation PDF Guide
This FREE PDF contains, Steps by step guide to install SharePoint 2019 Preview, prerequisites, hardware and software new features. First impression to SharePoint Server 2019 new modern site, modern lists and modern document libraries.