Question

I want to grant multiple groups read access via MS workflow. Below is the URL which I am using to grant an access. Currently, this API URL is granting permission to one group only and I have 5 more groups, instead of making 5 more API hits, I was wondering if there is any way to do it in one shot?

URL: _api/lists/getByTitle('Test')/items(ID)/roleAssignments/addroleassignment(principalId=84, roledefId=1073741827)

Was it helpful?

Solution

As far as I know, we can only grant permission to one user/group using one API URL in MS Flow.

We can only put the repeated actions in one flow.

enter image description here

Reference: Set custom permissions on a list by using the REST interface.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top