cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MohamedMo
Helper II
Helper II

update SharePoint people picker with multiple selection

 

Dear All,

 

I have a SharePoint list that includes some records and I have another list users add items in it and power automate workflow Get Items and check equal the dropdown value then update people picker field emails it works with one email but once i add multaple emails it gives me this below message and nothing happen

 

 

 

 

 

 

Capture.PNGCapture1.PNGCapture2.PNGCapture4.PNG

1 REPLY 1
vivekpande18
Impactful Individual
Impactful Individual

Hi @MohamedMo ,

 

If you want to update multiple values in the person field, you should provide users #Claim. Like below

 

[
 {
  "Claims": "User Claim1"
 },
 {
  "Claims": "User Claim2"
 }
]

 

I have two lists in my case  List 1 & List 2

List 2

vivekpande18_0-1653541914046.png

I want to update the users from Person field in List 2 to List 1 Person field.

List 1

vivekpande18_1-1653542022070.png

 

Flow Steps:

1- Get Items from List 2 & initialize variable

vivekpande18_2-1653542101032.png

Above variable will hold the value of users to update in another list. It should be array type.

 

2- Build the users Claim

vivekpande18_3-1653542198244.png

 Select 

From : select the multi value person field from dynamic content

Map : Calims | Select the person claim from dynamic content

 

Variable

Set the variable value with the Output of the Select action.

 

3- Update 

 

vivekpande18_4-1653542425208.png

Update the set variable.

 

Output:

vivekpande18_5-1653542541492.png

 

 

Thanks

Vivek Pande

If this post helps answer your question, please "Accept as Solution" to help others find it more quickly.

If you thought this post was helpful, please give it a Thumbs Up.

 

Subscribe my YouTube channel to get more interesting content on Power Automate.

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,083)