cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Apply item level permissions from field in list

@rsaikrishna ,

 

I finally got this issue working and now i have a requirement to apply item level permissions.  I have all of the information in the list in fields from the previous issue.

 

I have tried applying this solution

wf9.JPG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

However, I am not seeing the permissions showing in the item itself, perhaps I am looking in the wrong place.

Is there a way to take this and apply it to each item?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User II
Super User II

Re: Apply item level permissions from field in list

@Dorinda 

 

You are welcome.

 

Here is the flow which removed all the permissions, added the users mentioned under Assigned Recipients. Only caveat is it adds the a/c under which flow is running.

 

Permissions1.png 

 

Please give a try and let me know if this worked you.

View solution in original post

10 REPLIES 10
Highlighted
Super User II
Super User II

Re: Apply item level permissions from field in list

@Dorinda ,

 

Thank you for reaching out to me.

 

@siddharth_v  documented the item level permissions using PowerAutomate. You can refer his blog for more details: https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/Microsoft-Flow-to-Provide-Item-Lev... 

 

After reviewing the blog, if you have any questions, please share here.

 

Regards

Krishna

Highlighted
Helper III
Helper III

Re: Apply item level permissions from field in list

This is exactly what I did, however it is not removing the other users it is breaking inheritance but not just putting the people i am specifying in the perms.  His blog indicated that should happen.

 

 

Highlighted
Super User II
Super User II

Re: Apply item level permissions from field in list

@Dorinda 

 

Can you set Notify Recipients to Yes and give a try?

 

Regards

Krishna

Highlighted
Helper III
Helper III

Re: Apply item level permissions from field in list

 I got the email but it didnt delete all of the inherited permissions it did add the user, but it left everyone else.

 

His blog indicated they would be removed.  I am not seeing that behaviour

Highlighted
Super User II
Super User II

Re: Apply item level permissions from field in list

According MS documentation, it will not delete Owners but rest of the people:

 

"Delete all links giving access to an item or a file and remove all people with direct access except for owners."

 

Reference: https://docs.microsoft.com/en-us/connectors/sharepointonline/#stop-sharing-an-item-or-a-file

 

Regards

Krishna

Highlighted
Helper III
Helper III

Re: Apply item level permissions from field in list

OK so that defeats the purpose of using flow to remove the inherited list permissions to give unique.  I thought there was a way to do that?

 

 

Highlighted
Super User II
Super User II

Re: Apply item level permissions from field in list

SharePoint has REST api calls using Sharepoint HTTP action to manipulate permissions. Let me create an example and share it with you.

Highlighted
Helper III
Helper III

Re: Apply item level permissions from field in list

You are awesome as always thank you for your guidence!

Highlighted
Super User II
Super User II

Re: Apply item level permissions from field in list

@Dorinda 

 

You are welcome.

 

Here is the flow which removed all the permissions, added the users mentioned under Assigned Recipients. Only caveat is it adds the a/c under which flow is running.

 

Permissions1.png 

 

Please give a try and let me know if this worked you.

View solution in original post

Highlighted
Super User II
Super User II

Re: Apply item level permissions from field in list

@Dorinda , did you get a chance to try? 

 

If everything looks good, can you mark the post as Accepted Solution.

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (7,378)