Вопрос

I'm trying to remove full control role definitions from Site Owner Group, because I have added another permission level through Power Automate/MS Flow.

From Microsoft docs - Below is the syntax for POST Call

http://<sitecollection>/<site>/_api/web/RoleAssignments(principalid)/RoleDefinitionBindings/remove(roleDefinition)

In Power Automate I tried like this

https://xxx.sharepoint.com/sites/TestSiteFromPA/_api/web/RoleAssignments(3)/RoleDefinitionBindings/remove(1073741829)

It says resource not found, I believe roledefinition is object not the roledefinition id but how can I send the object in Power Automate/Flow

Thanks

Нет правильного решения

Другие советы

First DELETE all roles from the group and then ADD back the desired role definition to the group.

See the screenshot below:

enter image description here

Лицензировано под: CC-BY-SA с атрибуция
Не связан с sharepoint.stackexchange
scroll top