cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bigfella
Regular Visitor

Set Unique Permissions On Sharepoint List for Existing Entries

When a user submits a response in Forms, I use Power Automate to post those responses to SharePoint. Part of the flow sets unique permissions on this new row, granting access only to the the submitter, their manager, and their manager's manager. The user's email and the manager's email are also recorded to columns in the row. 

Recently, all these unique permissions were overwritten and I had to restore them manually, row by row. I'd love to create a flow to recreate them should it happen again. As the existing flow sets permissions as they come in (trigger is from Forms, "when a new response is submitted"), I'm uncertain how I'd tell my new Flow to do something like "for all existing rows in the SharePoint list, grant access to said row using the values in the user_email and manager_email columns". 

1 ACCEPTED SOLUTION

Accepted Solutions
v-xiaochen-msft
Community Support
Community Support

Hi @bigfella ,

 

You can try to create a button flow to do this. When you click on the button , it will set the permission for all items in list.

Sample:

vxiaochenmsft_0-1662084810169.png

 

Can it help you?

 

Best Regards,

Wearsky

View solution in original post

1 REPLY 1
v-xiaochen-msft
Community Support
Community Support

Hi @bigfella ,

 

You can try to create a button flow to do this. When you click on the button , it will set the permission for all items in list.

Sample:

vxiaochenmsft_0-1662084810169.png

 

Can it help you?

 

Best Regards,

Wearsky

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (4,443)