I am trying to figure out how to take an existing group from a parent site, and add it to subsite permissions [with custom permissions] dynamically.
I have queried the group via a SharePoint request like so:
And am attempting to take the group and place it on a site like so:
The body expression is as follows: "body('action')?['Title']
The response I get is a 400 error which states that the parameter is not allowed. Is it possible to add an existing group to a site?
parametersParameter name: Specified value is not supported for the parameters parameter.
Go to Solution.
Adding an existing group should be possible by using the addroleassignment method. You can refer to the principalid and set a specific role, like contribute permissions.
Below is an example of that:
View solution in original post
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.