LowCodeStacks™
Sign in

Patch a SharePoint Person, Choice or Lookup column in Power Apps

Power Apps Patch fails on a SharePoint Person, Choice or Lookup column because each needs a record, not text. Copy-ready formulas for single and multi-select.

Power AppsFix a problem6 min read

Checked against Microsoft Learn 10 sources · Updated By · drafted with AI help, checked by a personHow we write guides

A form saves fine with SubmitForm, but your own Patch fails, or seems to do nothing, as soon as it touches a SharePoint Person, Choice or Lookup column. The reason is the same every time: those are complex columns. Power Apps expects a record with the right fields, not the text you see on screen.

Note

Checked against Microsoft Learn on 8 October 2026. The examples use a list called Requests; use your own list and column names.

SharePoint Choice, Lookup and Person columns need a record, not text. Patching text such as { Status: "Approved" } fails or seems to do nothing; a record such as { Status: { Value: "Approved" } } saves. Three cards show each record. Choice: a record with Value, for example Value "Approved"; for multi-select, a table of these records. Lookup: Id 12 and Value "Contoso", where Id is the item's ID in the other list, not this one. Person: every field, with empty text for the ones you don't have: Claims is "i:0#.f|membership|" & Lower(User().Email), DisplayName is User().FullName, Email is User().Email, and Department, JobTitle and Picture are empty text; for a multi-person column, a table of these records. Easiest for all three: a combo box with Items set to Choices(List.Column), then patch its Selected, or SelectedItems for multi-select.
The record Patch expects for a SharePoint Choice, Lookup and Person column, and the combo-box shortcut for all three.

1. See the real error first

Patch rarely fails loudly. Wrap it so you see SharePoint's message:

powerfx
IfError(
    Patch(Requests, Defaults(Requests), { Title: txtTitle.Text }),
    Notify("Save failed: " & FirstError.Message, NotificationType.Error)
)

The message usually names the column at fault, such as "Field 'Department' is required" or "The specified user could not be found".

2. Choice columns

A Choice column takes a record with a Value field.

powerfx
Patch(Requests, ThisItem, { Status: { Value: "Approved" } })

Safer: take the record from the column's own choices, so a typo can't save a value that isn't on the list:

powerfx
Patch(
    Requests, ThisItem,
    { Status: LookUp(Choices(Requests.Status), Value = "Approved") }
)

Multi-select choice: a table of those records.

powerfx
Patch(Requests, ThisItem, { Tags: Table({ Value: "Urgent" }, { Value: "Finance" }) })
// or, from a combo box with Items = Choices(Requests.Tags):
Patch(Requests, ThisItem, { Tags: cmbTags.SelectedItems })

3. Lookup columns

A Lookup column takes a record with the ID of the item in the other list and its display Value.

powerfx
Patch(Requests, ThisItem, { Customer: { Id: 12, Value: "Contoso" } })

If you have the customer's item from the other list, map it:

powerfx
With(
    { c: LookUp(Customers, Title = "Contoso") },
    Patch(Requests, ThisItem, { Customer: { Id: c.ID, Value: c.Title } })
)

Or use a combo box with Items set to Choices(Requests.Customer), which already returns Id and Value:

powerfx
Patch(Requests, ThisItem, { Customer: cmbCustomer.Selected })

Tip

Patching a LookUp result from the other list directly ({ Customer: LookUp(Customers, …) }) works for Dataverse lookups, not SharePoint ones. SharePoint needs the Id and Value record.

4. Person columns

A Person column takes a record that identifies the user by their claims string. Fill every field; send empty text for the ones you don't have.

powerfx
Patch(
    Requests, ThisItem,
    {
        AssignedTo: {
            Claims: "i:0#.f|membership|" & Lower(User().Email),
            DisplayName: User().FullName,
            Email: User().Email,
            Department: "",
            JobTitle: "",
            Picture: ""
        }
    }
)

To pick someone else, the simplest is a combo box with Items set to Choices(Requests.AssignedTo), then patch cmbAssignee.Selected. To search the whole directory instead, use the Office 365 Users connector and build the record from the result:

powerfx
With(
    { u: cmbPeople.Selected },  // Items: Office365Users.SearchUserV2({ searchTerm: Self.SearchText }).value
    Patch(
        Requests, ThisItem,
        {
            AssignedTo: {
                Claims: "i:0#.f|membership|" & Lower(u.Mail),
                DisplayName: u.DisplayName,
                Email: u.Mail,
                Department: "",
                JobTitle: "",
                Picture: ""
            }
        }
    )
)

Multi-person column: a table of those records.

powerfx
Patch(
    Requests, ThisItem,
    {
        Reviewers: ForAll(
            cmbReviewers.SelectedItems As r,
            {
                Claims: "i:0#.f|membership|" & Lower(r.Mail),
                DisplayName: r.DisplayName,
                Email: r.Mail,
                Department: "",
                JobTitle: "",
                Picture: ""
            }
        )
    }
)

Warning

The person must be a member of your organisation who can be found in the directory. A guest, a shared mailbox, or an email with a typo fails with "The specified user could not be found".

5. The simple columns, for completeness

SharePoint columnWhat to patchExample
Single line of textText{ Title: txtTitle.Text }
Number, CurrencyA number, not text{ Amount: Value(txtAmount.Text) }
Yes/Notrue or false{ Paid: chkPaid.Checked }
Date and TimeA date{ DueDate: dpDue.SelectedDate }
Choice, Lookup, PersonA record (above){ Status: { Value: "Open" } }
Clear any of themBlank(){ AssignedTo: Blank() }

The table uses the modern Checkbox. With a classic Check box, read chkPaid.Value instead. A Number input control already holds a number, so patch { Amount: numAmount.Value } with no conversion.

When it still fails

Error or symptomCheck
"Field 'X' is required"Every required column needs a value when you create an item, including Title
"The specified user could not be found"The claims string: the i:0#.f|membership| prefix and a lowercase, correct email
"Invalid lookup value" or wrong item linkedThe Id must be the ID in the other list, not this one
Saves a choice that isn't on the listUse LookUp(Choices(…), Value = …) so only real choices can be saved
Nothing happens, no errorWrap Patch in IfError (section 1), and check Monitor for the request
Works for you, fails for othersThey need Edit permission on the list

If the banner only says "Network error when using Patch function", our guide to that error shows how to find the real cause. If you're filtering big lists to find the item to patch, see Power Apps delegation and the 500-row limit.

Sources

Add LowCodeStacks as a preferred source on Google

Did this fix it?

Get the weekly email

New guides and updates from LowCodeStacks, every Tuesday. One email a week, no more.

From LowCodeStacks, Regina, SK, contact@lowcodestacks.com. You can unsubscribe any time, from the link in every email or in your privacy settings. See the Privacy notice.

Comments

No comments yet. Share what worked for you.

Sign in to comment. Comments show under a display name you choose, never your email.