I have a flow that triggers when a new item is added to a list, it creates tasks in the task list, I have create item actions in place for the same.
For some reason, I am not able to set Assigned to field to SP group name called 'EM-Initiate'. Its a people picker field allowing user and groups with multiple selections. Below is what I am using, but the flow takes long and then times out.
Can someone please help me how i can set people picker field to a SharePoint group name for adding a new task, thanks in advance.
Hi @dmistry ,
First please make sure that you have set this field to allow selection of Groups in List.
Then you can create a new flow and select group from the drop-down list when configuring this field.
If you want to enter group manually, you need to enter Group id instead of Group Name. Like:
Thanks @v-bacao-msft , i am working with sharepoint 2019 and the people picker is allowed to have groups selection, how would I set the group name by id if the group type is sharepoint group, please help.
Hi @dmistry ,
You could go to office 365 admin center to get the group id of the group.
we dont have o365, its sharepoint 2019 on premises and we are using sharepoint groups. Any thoughts? @v-bacao-msft
Hi @dmistry ，
Hmm, my method is applicable to SharePoint Online. I'm afraid I don't have an environment here to test SharePoint 2019. Please consider contacting Microsoft Support to assist you in solving your problem.
Another method is that you can create a similar task in the list, and then assign the task to a specified group, and then you can get the details of this task through the Get item action, I think this will contain Claims of this group, you can configure this Claims in Create item action and check whether it is valid.
Features releasing from October 2020 through March 2021
We are excited to announce the launch of Power Virtual Agents Community. Check it out now!
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!