Is there any way to get permissions I have on a microsoft sharepoint site, without being admin of an organization?

Pratyaksh Sinha 20 Reputation points
2023-09-01T04:50:27.7366667+00:00

I want to get the permission of a site I have access to, I have the site id. I looked into https://learn.microsoft.com/en-us/graph/api/site-list-permissions?view=graph-rest-1.0&tabs=http#permissions but this api requires me to have admin privileges to get the sites permission. Is there any other way to do it without admin priveleges?

Microsoft 365 and Office | SharePoint | For business | Windows
Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

Answer accepted by question author
  1. RaytheonXie_MSFT 40,486 Reputation points Microsoft External Staff
    2023-09-01T06:53:20.9966667+00:00

    Hi @Pratyaksh Sinha,

    Per my test, full control of the site is necessary to retrieve the permission of a site. I have tested user with approval and design permission level to get the list of permission by powershell. And they all return Attempted to perform an unauthorized operation.

    User's image

    We will need a full control permission to get RoleAssignments properties under web.


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

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

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