cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dorinda
Post Patron
Post Patron

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

@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
rsaikrishna
Dual Super User
Dual Super User

@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

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.

 

 

@Dorinda 

 

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

 

Regards

Krishna

 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

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

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?

 

 

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

You are awesome as always thank you for your guidence!

@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

@Dorinda , did you get a chance to try? 

 

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

Helpful resources

Announcements
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (82,693)