How to use Microsoft Graph API to enable accessing a specific SharePoint site

Michiyuki Abe 20 Reputation points
2023-12-27T09:17:21.09+00:00

We are using Microsoft Entra ID to authorize applications to register and use the Graph API to operate Sharepoint.

Is there a way to give an application authorization to operate only one site, rather than all Sharepoint sites?

Thank you.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,483 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,230 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Diah.Karim-MSFT 335 Reputation points Microsoft External Staff
    2023-12-31T23:47:34.4533333+00:00

    Hi Michiyuki,

    There is an article that describes the whole process to only allowed access for specific Sharepoint sites.

    Please refer article below:

    https://techcommunity.microsoft.com/t5/microsoft-sharepoint-blog/develop-applications-that-use-sites-selected-permissions-for-spo/ba-p/3790476

    Hope this helps.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.