Hello Kanaghappriya Karunanithi,
Thank you for contacting Microsoft Support!
To retrieve the permission details of a SharePoint page using the Microsoft Graph API, you can use the following endpoint:
GET /sites/{site-id}/permissions
This endpoint will list the permission resources from the permissions navigation property on a site. Here’s a step-by-step guide to help you get started:
- Get the Site ID: You can retrieve the site ID using the following endpoint:
GET /sites/{hostname}:/{server-relative-path}
- Retrieve Permissions: Use the site ID to get the permissions:
GET /sites/{site-id}/permissions
Here’s an example of how the request might look:
GET https://graph.microsoft.com/v1.0/sites/{site-id}/permissions
This will return a list of permissions for the specified site, which you can then parse to get the details you need.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.