web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Form to Submit Multipl...
Power Apps
Answered

Form to Submit Multiple Users in a Person Field in SharePoint

(0) ShareShare
ReportReport
Posted on by 17

 I am currently using a PowerApp newform connected to a SharePoint list. I have a Person Field "Addl_Team" on SP that allows multiple entries.

 

I can get my multiselect-enabled combobox in my form to create an entry with multiple people, but if I go back into the app and I decide that I need to add another person to these selections, it overwrites my existing multi-selections with just that one new person I picked.

 

This is the code I have attached to my Update function of my DataCard:

ForAll(DataCardValue15.SelectedItems,
{
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
            Claims: "i:0#.f|membership|" & DataCardValue15.Selected.Mail,
            Department: "",
            DisplayName: DataCardValue15.Selected.DisplayName,
            Email: DataCardValue15.Selected.Mail,
            JobTitle: "",
            Picture: ""
})
I have the same question (3)
  • Verified answer
    Paramesh Ulthi Profile Picture
    17 on at
    Using a Form to Update Multiple Users in a Person Field in SharePoint
     
    When patching to a Person field, you need to send the whole schema. As you seem to be using the Office365Users.SearchUser function in the Items, this schema is different from that of the person field you are reading from / writing to, so the Update would be
    ForAll(
       DataCardValue15.SelectedItems As _Items,
       {
          Claims: "i:0#.f|membership|" & Lower(_Items.Mail),
          Department: "",
          DisplayName: _Items.DisplayName,
          Email: _Items.Mail,
          JobTitle: "",
          Picture: ""
       }
    )
    and the DefaultSelectedItems
    ForAll(
       ThisItem.Addl_Team As _Items,
       {
          Mail: _Items.Email,
          DisplayName: _Items.DisplayName
       }
    )

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 519 Most Valuable Professional

#2
11manish Profile Picture

11manish 489

#3
Haque Profile Picture

Haque 327

Last 30 days Overall leaderboard