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

Adding Sharepoint groups to dynamically to an MSlist item

Hi All,

 

So I have a particular use case in which I am aiming to reduce my manual effort to add specific sharepoint groups to specific items based on a Column Value for that item.

 

Description :

 

1. I have an MSlist on my Sharepoint which holds different items ( rows ) , There' s Column which holds the value of the team to which that item belongs to For Ex : Rnd, Engineering, Operations etc.

2. Based on the team names I have created Sharepoint groups for ex : Rnd_Group, Engineering_Group etc. The manual effort is that everytime if we add a new item I have to check for the "Team Column" and add access to that particular Team group.

 

I've tried using the trigger "When a new item is created" and then add  an action "Grant access to an item or folder" but since Sharepoint groups doesn't have any email addresses like office groups it doesn't show up in the suggestions see below :

Group visible in Sharepoint listGroup visible in Sharepoint listcan't find the group in Flowcan't find the group in Flow

 

Is there any other way I can do it ?

 

Thanks ,

Saif Ali

1 ACCEPTED SOLUTION

Accepted Solutions
Gristy
Resident Rockstar
Resident Rockstar

Yes - you can use REST API to assign permissions via the group ID and the level of permission you need:

 

https://collab365.com/sharepoint-item-permissions-using-flow-part-1/

View solution in original post

1 REPLY 1
Gristy
Resident Rockstar
Resident Rockstar

Yes - you can use REST API to assign permissions via the group ID and the level of permission you need:

 

https://collab365.com/sharepoint-item-permissions-using-flow-part-1/

View solution in original post

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,909)