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
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

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

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (86,547)