Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I find the Tenant ID of my SharePoint Online Account

I am a newbie in sharepoint. I was trying to get the access token via oauth and came to know that tenant Id or site realm of sharepoint account. Where do I find it or how can I retrieve it ?

like image 236
Sachin Avatar asked Dec 19 '22 15:12

Sachin


1 Answers

From UI:

  • navigate to Site Collection App Permissions page (http:// <SharePointWebsite> /_layouts/15/AppPrincipals.aspx)

  • identify the row with your registered application and locate at the App Identifier column. Site realm corresponds to the part of App Identifier followed after the last @ delimiter

enter image description here

like image 182
Vadim Gremyachev Avatar answered Mar 08 '23 17:03

Vadim Gremyachev