Thursday, June 11, 2020

Power Automate - Grant access to an item or folder: Add a SharePoint Group

In Power Automate, if trying to grant access to an item or a folder, and you try to use a SharePoint Group, it won't resolve and you'll get an error that the field is required.


But if you just Initialize a variable and assign it the name of the SharePoint Group:

And then use that variable instead:


You no longer get an error, and the group will get added with the access level specified when you run the flow!




3 comments:

Unknown said...

It didn't worked for me , below is the error :

The 'inputs.parameters' of workflow operation 'Grant_access_to_an_item_or_a_folder' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'parameter/recipients' is required to be of type 'String/email'. The runtime value '"RnD members "' to be converted doesn't have the expected format 'string/email'.

unknown 2 said...

Also getting the same error as the person above...im sure this worked before

unknown 2 said...
This comment has been removed by the author.