Small Tips and Tricks : Microsoft Graph Explorer – Getting SharePoint Site ID

Graph Explorer - Getting SharePoint ID / Details
Graph Explorer - Getting SharePoint ID / Details

Hi All,

Greetings!!!

Today new short tip related to SharePoint site id and Graph Explorer

We have very good series of articles on Graph Explorer, please have a look – https://knowledge-junction.in/?s=GRAPH+EXPLORER

Tip : How to get SharePoint site ID using Graph Explorer OR How to get SharePoint site properties using Graph Explorer

Details

There are two ways to get SharePoint site id / details

  1. Using SharePoint site URL
  2. Using Search

Graph Explorer – Using SharePoint site URL

https://graph.microsoft.com/<Graph api version>/sites/<site url of which we need to get the ID / details>


https://graph.microsoft.com/v1.0/sites/knowledgejunction1.sharepoint.com/sites/demo

fig : Graph Explorer - Query to get SharePoint site ID / Details
fig : Graph Explorer – Query to get SharePoint site ID / Details

Graph Explorer – Using Search

  • In query box we need use search to get the details for given site

https://graph.microsoft.com/<Graph api version/sites?search=<site name for which we need ID / Details>

https://graph.microsoft.com/v1.0/sites?search=demo

fig : Graph Explorer - using search to get the site details / ID
fig : Graph Explorer – using search to get the site details / ID
  • Only thing is search result will return all the matching site details as shown in above fig

Thanks for reading !!! Please feel free to discuss / suggestions / share thoughts !!!

HAVE A GREAT TIME AHEAD !!! LIFE IS BEAUTIFUL πŸ™‚

Prasham Sabadra

LIFE IS VERY BEAUTIFUL :) ENJOY THE WHOLE JOURNEY :) Founder of Knowledge Junction and live-beautiful-life.com, Author, Learner, Passionate Techie, avid reader. Certified Professional Workshop Facilitator / Public Speaker. Scrum Foundation Professional certificated. Motivational, Behavioral , Technical speaker. Speaks in various events including SharePoint Saturdays, Boot camps, Collages / Schools, local chapter. Can reach me for Microsoft 365, Azure, DevOps, SharePoint, Teams, Power Platform, JavaScript.

You may also like...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: