cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Resh
Frequent Visitor

Item Level permissions for SharePointGroup

Scenario:

When a new item is added in SharePoint list add item level permission so only a specific SharePoint Group can access the item

 

Solution:

I tried using "Grant access to an Item or Folder" but looks like we can use only emails in the recipient field.

So I created the flow below. It is working as expected but the only issue is that permissions is updated for the new added item along with any item I created that day (Honestly I have not been able to figure out which previous items are updated....created an hour ago or the same day etc)

But irrespective of that the issue is it updated already existing items along with the new ones added too.

Also I will mention that the previous once were already executed by the flow when they were created.

 

This is an issue as say I create an item and assign to Group 1

Then I create another item and assign to Group 2.

The flow updates the first item and assigns it to Group 2.

This is not the requirement as group 1 should not be able to see group 2 items.

 

Can you help me understand what is wrong with the flow below?

Permissions 1.jpgPermissions 2.jpgPermissions 3.jpgPermissions 4.jpg

 

1 REPLY 1
JohnAageAnderse
Memorable Member
Memorable Member

Hello @Resh 

As far as I know, the action "Stop sharing an item or a file" only applies to any sharing links that you or other may have created. It does not change the permissions granted in the library.

These are the steps that I use to ensure that a folder in a library only allows specific access for people.

The first action is to break the folder permission inheritance.

Second action is then to grant the needed permissions to the folder for the group.

Flow.Grant permissions to item.jpg

Kind regards, John

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (3,805)