I have a requirement to write a Flow using power automate. The requirement is to check if a user has access to given SharePoint site. Here SharePoint site address will be given as input. I'm wondering how to achieve this using REST API in power automate.
Asked
Active
Viewed 2,607 times
1 Answers
0
With REST API, you cannot check user permission directly, alternate is to use effectiveBasePermissions
for different masks. Blog here.
And for Power Automate, I am not sure if you can carry further steps mentioned in the blog.
Similar thread: How to get user's permission on SharePoint site with REST API?
The workaround I can think of will be checking if the user is in a SharePoint group. You can get all users in a SharePoint group via REST API, and check if the user is inside of it.

Jerry_MSFT
- 276
- 1
- 3