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

set read permission to multiple SharePoint groups in one "Send an HTTP request to SharePoint" action via Power Automate

hi Team

I have a requirement where I have to set Read permission to some 8 SharePoint groups on the item level in the SharePoint list.

Currently, I could only set it for one single SP group at a time using "Send an HTTP request to SharePoint" action.

 

I want to avoid sending 8 HTTP requests for Read permission assignment. Please help me in modifying the below uri.

/_api/web/lists/getByTitle('<LIST_TITLE>')/roleassignments/addroleassignment(principalid='<GROUP_ID>',roleDefId=<ROLE_ID>)

 

@PowerAutomate 

 

Thanks

Manoj

2 REPLIES 2
PrasadAthalye
Super User
Super User

@manojvashist - Can you see if following Action helps?

 

Like and mark this as solution if it helps to resolve the issue.

 

PrasadAthalye_0-1600994706025.png

 

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

hi @PrasadAthalye 

Thank you for your reply to my query. 🙂

I tired this action but the limitation here is that in the Recipients field, I can only add email ids of people and since we do not have such Ids for SharePoint groups, we cannot add group names in this field. 

Helpful resources

Announcements
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

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Users online (46,343)