cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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
Community Champion
Community Champion

@Anonymous - 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
Anonymous
Not applicable

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
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (2,135)