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 / Help! Combo box Patch ...
Power Apps
Answered

Help! Combo box Patch user to SharePoint - strange error

(0) ShareShare
ReportReport
Posted on by 95

Hi everyone

 

I'm getting a few errors when trying to Patch a user's name back to SharePoint. The Patch is getting tripped up only on the user-selector fields (3 fields, same error). I'm using a Combo Box in PowerApps (as always). What's odd is that it's the same routine I've used for these types of fields time-and-time again - same Combo Box, settings, and Patch code. I just can't figure out why it's throwing an error this time!

 

Chris110_0-1655497406763.png

 

The Patch starts with Patch(SPList,Defaults(SPList), then goes into the fields. 

 

{RequestorName:
{'@odata.type': "#Mircrosoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims: cmb_RequestedBy_newuser.Selected.Mail,
Department: "",
DisplayName: cmb_RequestedBy_newuser.Selected.DisplayName,
Email: cmb_RequestedBy_newuser.Selected.Mail,
JobTitle: "",
Picture: ""}
},

Here's the field in my SharePoint list:

Chris110_1-1655497533181.png

 

Categories:
  • WarrenBelz Profile Picture
    156,774 Most Valuable Professional on at

    Hi @Chris110 ,

    Put this on a label and see if you get a valid email address

    cmb_RequestedBy_newuser.Selected.Mail

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

  • Chris110 Profile Picture
    95 on at

    Hi @WarrenBelz 

     

    I can confirm that a valid email address was returned. I created another label with .DisplayName as well - same thing there too.

  • Verified answer
    Chris110 Profile Picture
    95 on at

    I figured it out...In the SharePoint list, there is a field called "Email."

     

    Patch was getting confused and thought the Email parameter related to the user account I included was pointing back to the Email field in SharePoint, thus the error was "hey where's the user's email address?"

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 258

#3
Mohsin Ali Profile Picture

Mohsin Ali 231

Last 30 days Overall leaderboard