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.
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:
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.
You May Also like the Following SharePoint Online Tutorials: