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


In Power Automate I tried like this


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


1 Answer 1


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

  • awesome! it worked
    – Arun
    Feb 21, 2021 at 20:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.