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 Microsoft 365 Junction, Speaker, Author, Learner, Developer, Passionate Techie. Certified Professional Workshop Facilitator / Public Speaker. Believe in knowledge sharing. Around 20+ years of total IT experience and 17+ years of experience in SharePoint and Microsoft 365 services Please feel free me to contact for any SharePoint / Microsoft 365 queries. I am also very much interested in behavioral (life changing) sessions like motivational speeches, Success, Goal Setting, About Life, How to live Life etc. My book - Microsoft 365 Power Shell hand book for Administrators and Beginners and 100 Power Shell Interview Questions - https://www.amazon.in/Microsoft-Administrators-Beginners-Interview-Questions/dp/9394901639/ref=tmm_pap_swatch_0?_encoding=UTF8&qid=1679029081&sr=8-11

You may also like...

Leave a Reply

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