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 / Patching error: Missin...
Power Apps
Unanswered

Patching error: Missing Department column.

(0) ShareShare
ReportReport
Posted on by 4
I am getting this error message when patching a single selection People column in SharePoint Online list using Power Platform canvas app.
 
 
 
Error Message:
 
 
 
Invalid argument type. Expecting a Record value, but of a different schema.
 
 
Missing column. Your formula is missing a column 'Department' with a type of 'Text'.
 
 
 
My patch code looks like this:
 
'Subscriber Name': {
                    '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
                    Claims: cmbSubscribeName_SubscriberForm_ChangeAlerts.Selected.Claims,
                    Department: cmbSubscribeName_SubscriberForm_ChangeAlerts.Selected.Department,
                    DisplayName: cmbSubscribeName_SubscriberForm_ChangeAlerts.Selected.DisplayName,
                    Email: cmbSubscribeName_SubscriberForm_ChangeAlerts.Selected.Email,
                    JobTitle: cmbSubscribeName_SubscriberForm_ChangeAlerts.Selected.JobTitle,
                    Picture: ""
},
 
 
I also updated to the following but I am still getting the error warning me about missing Department column of text type.
 'Subscriber Name': {
                    '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
                    Claims: "i:0#.f|membership|" & Lower(cmbSubscribeName_SubscriberForm_ChangeAlerts.Email),
                    DisplayName: cmbSubscribeName_SubscriberForm_ChangeAlerts.FullName,
                    Department: "",
                    Email: cmbSubscribeName_SubscriberForm_ChangeAlerts.Email
                }
 
My SPO column was created as follows:
 
Categories:
I have the same question (0)

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 430

#2
timl Profile Picture

timl 318 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard