Roman Štěrba
Roman Štěrba

Reputation: 47

Retrieve file permissions from SharePoint via Power Automate?

Lets say I have a file on SharePoint. I would like to see which permissions this file has using Power Automate. Is there a way to retrieve such information?

enter image description here

I don't seem to be able to find the correct option in Power Automate. Thank you.

Upvotes: 0

Views: 1352

Answers (1)

Jaco
Jaco

Reputation: 36

The is no direct action for this, but you can get it by making use of the rest services.

_api/web/lists/getByTitle('LISTNAME')/items(ITEMID)/RoleAssignments?$expand=Member/Users,RoleDefinitionBindings

Example

This will return all the permissions.

Results

Upvotes: 0

Related Questions