cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dorinda
Responsive Resident
Responsive Resident

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

Dorinda
Responsive Resident
Responsive Resident

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

Dorinda
Responsive Resident
Responsive Resident

 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

Dorinda
Responsive Resident
Responsive Resident

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.

Dorinda
Responsive Resident
Responsive Resident

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,941)