What is the best way to findout the Share Point Site ID and the Resource ID?

Anonymous
2024-05-20T07:22:09+00:00

With reference to the above question, i have seen answers provided in different blogs, websites that we shall go to Settings, Site Information and we can find this information in the Site URL field etc., which is not the case. I would request the concerned Share Point experts kindly answer this question.

Thanks

SGTPrasad

Microsoft 365 and Office | SharePoint | For business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. Anonymous
    2024-05-20T10:49:44+00:00

    Dear SGTPrasad,

    Good day!!

    As per the description shared, I understand your concern and to my knowledge, we can get the GUID of the SharePoint Online site via adding the following _api/site/idat the end of the Site URL:

    https://companyname.sharepoint.com/sites/sitename/_api/site/id

    For example: Moreover, I found an article that provides three other methods such as PowerShell, Power Automate, Microsoft Graph API and here is the reference: 4 Ways to Check SharePoint Site ID - Power Tech Tips

    However, if you are looking for an alternative way, as there is no out of the box solution, I request you to connect with the SharePoint Development experts via posting your concern in the SharePoint Developer - Microsoft Community Hub & Questions - Microsoft Q&A with SharePoint Development tag to get the opinions from the experts.

    In addition, I will keep this thread open so that MVPs and experts in this community will share the ideas on your concern.

    Appreciate your patience and understanding. Have a great day!!

    Best Regards,

    Sophia

    26 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-05-20T11:35:11+00:00

    Hi Sophia,

    Thanks a Ton for letting us know the way to find Share Point site ID.

    Could you also help us with a way to find the Resource ID in SP...?!

    Thanks

    SGTPrasad

    0 comments No comments
  3. Anonymous
    2024-05-21T07:21:14+00:00

    Dear SGTPrasad,

    Thanks for writing back and updating with us.

    As per the further updates, I have done more research from my end about the resource id but I am not able to find any source or any related Microsoft article.

    So, I request you to connect with the SharePoint Development experts by posting in the above communities mentioned to get any information about resource id.

    Our sincere apologies for not sharing any information related to Resource ID.

    Appreciate your patience with us and have a wonderful day!!

    Best Regards,

    Sophia

    0 comments No comments
  4. Anonymous
    2024-06-22T01:26:45+00:00

    Also looking for this. Seems very hard to find.

    0 comments No comments
  5. Anonymous
    2024-08-27T05:31:18+00:00

    I used this method so that I can use the sharepoint GUID in Graph API https://graph.microsoft.com/v1.0/sites/:site/drives. It was not fetching the details with the GUID.

    After research I found below two ways which gave me multiple Site IDs:

    Option 1: Graph API https://graph.microsoft.com/v1.0/sites/domain.sharepoint.com:/sites/Demosite This pull two Site ID. First one was working second was not working. In XML it will always return the second one which was not working and misleading.

    "id": "domain.sharepoint.com,55981a-91aa-4d9f-ad6f-fecdab410b96,a2679e13-5892-4fa5-a236-50c3334485",

    Option 2 page source

    Open the page source and search for "siteId" with quotes.

    5 people found this answer helpful.
    0 comments No comments