cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Flow cannot update "multiple people or group" field anymore (Since last week)

I have a few flows with actions to update "Peer Reviewers" field, this is a "people and group" field allows multiple people being selected... However, since last week, it suddently stopped working, I cannot see the "Peer Reviewers" field in action "update item" or "update file properties". This is an issue can be reproduced with the below steps:

  1. Create a list/library with "people and group" field , e.g. call it "Peer Reviewers", mark that field as "allow multiple select" and "people only".
  2. Create a flow running on this list/library, in the flow, add an action "Update item" or "update file properties", you will notice that you can NOT see "Peer Reviewers" field. (This used to work one week ago!)
  3. If you change the "Peer Reviewers" field to not allow "multiple select", then it will appear in Flow's "update item" or "update file properties" action...

I've submitted a ticket to Microsoft support team, but don't know when they can help me to resolve it...not very optimistic about it as it looks like a bug introduced with a few feature "Limit columns by view" last week, which allows us to filter columns by view in "update item" or "update file properties" action.

 

17 REPLIES 17
Super User
Super User

Re: Flow cannot update "multiple people or group" field anymore (Since last week)

I have noticed the same

 

SinglePerson.PNG

 

I switched my multi people field to single field ( my field is still called People) and I noticed that Flow calls this field "People Claims"

WilliamYin
Frequent Visitor

Re: Flow cannot update "multiple people or group" field anymore (Since last week)

>I switched my multi people field to single field ( my field is still called People)

If you do so, your people field will only keep one people value for you, you will lose the rest people values I think..We might have to wait MS to fix it 😞

Super User
Super User

Re: Flow cannot update "multiple people or group" field anymore (Since last week)

@WilliamYinI've raised this within the Flow team. So hopefully the fix can be there soon.

Super User
Super User

Re: Flow cannot update "multiple people or group" field anymore (Since last week)

Community Support
Community Support

Re: Flow cannot update "multiple people or group" field anymore (Since last week)

Hi @Anonymous,

 

Update a "multiple people or group" field is always not supported in microsoft and you couldn't see the multiple people or group" field in the update item action.

 

If you would like to see and update the multiple people or group" field in the update item action,I afraid that there is no way to achieve your needs in Microsoft Flow currently.

 

If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

 

 

Best regards,

Alice

Super User
Super User

Re: Flow cannot update "multiple people or group" field anymore (Since last week)

You could try with the REST API to do the update.
Highlighted
Anonymous
Not applicable

Re: Flow cannot update "multiple people or group" field anymore (Since last week)

As I clearlly said in this post subject, I saw that "multiple people or group" field in "update item" and "update file properties" actions, and I used it, but I didn't get enough time to do proper testing though. When I got time to do testing, I found it's not there anymore!

 

Anonymous
Not applicable

Re: Flow cannot update "multiple people or group" field anymore (Since last week)

Using REST API definitely can be a solution, but the main issue for us is that the change of "update item" and "update file properties" actions from Microsoft side broke all our exist flows, which were referring "multiple people or group" fields...

vish4287
New Member

Re: Flow cannot update "multiple people or group" field anymore (Since last week)

Can you try following Steps?

1. Initiate a variable of type "Object" with initial value '{}'. Ex. 'objEmails'

2. Initiate a variable of type "Array". Ex. 'arrEmails'

3. Then add an action 'Compose'. In this action use following expression :

Spoiler
addProperty(varialbe('objEmails'),'Claims','<your_email1>')

4. Use Action 'Add variable to Array' & select the Output of Compose Action as an input tho this action.

5. Repeat step 3 & 4 for all your users to be added. (You can use 'Apply to each' action for multiple iterations)

6. Now go to your action where you want Add/update Multiple User Field.

7. Click on the the icon near the Text box(Your User Field) 'Switch to input entire array'.

Once done you will see a multiline textbox for adding array.

8. Add Array Variable to that input box.

 

And that is it Save Flow & try testing it.

 

Please let me know if this helped you.

Beerman212
Frequent Visitor

Re: Flow cannot update "multiple people or group" field anymore (Since last week)

When the person field is single person or multi-person you can update it for 1 person by just sending the person claims.  You can get that from the sharepoint resolve person action.

If you want to update a person field with multiple people you can't do that, you have to send in the whole contents of resolve person.  I just use a compose action to append each one into an array and then I can send in the array.

 

ResolvePerson.png

 

UpdateItem.png

 

Using Compose to create a person object

Super User
Super User

Re: Flow cannot update "multiple people or group" field anymore (Since last week)

@vish4287 You saved my day 🙂

Thank you

P.

jayant1 Helper V
Helper V

Re: Flow cannot update "multiple people or group" field anymore (Since last week)

Hey All,

 

if anyone is still struggling with this problem kindly find out the claims property of your employee by just getting the items from sharepoint list which includes the people picker field.

the claim propery involves email address of each particular employee. Kindly put that in the Update item action of people picker field and it should do the trick. 

bu11frogg Advocate I
Advocate I

Re: Flow cannot update "multiple people or group" field anymore (Since last week)

@Beerman212   Thank you for posting this!   I struggled with this for hours yesterday!

 

I had never used the "Resolve Person" Action before, and while looking through it I noticed a value, "SharePoint expanded user field".  Appending this value directly into an array simplified the whole Flow; I was able to skip the "Compose" step and avoid crafting a JSON statement entirely.

 

Here is the meat of my Flow, which takes all the existing users in a multi-person field (left side) and builds an array.  On the right side, I'm adding the user who triggered the Flow (clicked on the "pin" icon in the list item) to a hidden temp field, and then adding that user into the multi-person field along with all the previous users.

 

Add User to Users in Multi-Person Field.PNG

Beerman212
Frequent Visitor

Re: Flow cannot update "multiple people or group" field anymore (Since last week)

@bu11frogg That's very cool, I don't recall ever seeing that, maybe that is something that has been added since I made this post.  Flow is changing very very fast.

Microsoft
Microsoft

Re: Flow cannot update "multiple people or group" field anymore (Since last week)

Thanks. This looks promising. I followed your model and generated an array with the user details from the Resolve Person. When I pump that array into the multi-user Person field, it returns an error that Display Name is a read-only property.

Microsoft
Microsoft

Re: Flow cannot update "multiple people or group" field anymore (Since last week)

I have this working. When you write in a field of type Person, you need to provide a single email address or an array of email addresses. The input to the Person field should be in the form:

 

[
{
"Claims": "emailalias1(at)contoso.com"
},
{
"Claims": "emailalias2(at)contoso.com"
}
]
hiteshn
New Member

Re: Flow cannot update "multiple people or group" field anymore (Since last week)

I had a requirement of updating a list B with Members from another List A, both list were having multiple people picker column. I also faced same issue. I tried the below thing and it worked:

1. Get the Item from list A.

2. Update item for list B

3. While updating multiple People Picker here, switch the field to input entire array:

Untitled1.png

4. Now Provide the People Picker column from Get Item function:

 

Untitled.png

 

 

 

"Members" is the name of the Multiple People Picker column present in list A.

 

In this way you can pass any no. of people data, without JSON formatting.

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (6,391)