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 / Patch Sharepoint User
Power Apps
Unanswered

Patch Sharepoint User

(0) ShareShare
ReportReport
Posted on by 12

Hello,

I would like to assign a user to an existing Sharepoint list Item, but it does not work although there is no error. I use the Patch function + Lookup. If I only use the Patch function without Lookup it wants me to update every column.

 

Patch(
 'Sharepoint List';
 LookUp(
 'Sharepoint List';
 Person.Email = Dropdown3.Selected.Email
 );
 {
 Person: {
 Claims: Concatenate(
 "i:0#.f|membership|";
 User().Email
 );
 Department: "";
 DisplayName: Dropdown3.Selected.FullName;
 Email: Dropdown3.Selected.Email;
 
JobTitle: "";
 Picture: Dropdown3.Selected.Image
 }
 }
)

 Thank you,

Mazlum

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,240 Most Valuable Professional on at

    Hi @Mazlum ,

    Firstly try this

    Patch(
     'Sharepoint List';
     LookUp(
     'Sharepoint List';
     Person.Email = Dropdown3.Selected.Email
     );
     {
     '@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser";
     Person: 
     {
     Claims: "i:0#.f|membership|" & Lower(Dropdown3.Selected.Email);
     Department: "";
     DisplayName: Dropdown3.Selected.FullName;
     Email: Dropdown3.Selected.Email;
     JobTitle: "";
     Picture: Dropdown3.Selected.Picture
     }
     }
    )

    I have to assume here that you have a record where the Person field has an email matching that selected in Dropdown3.

     

    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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

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
Vish WR Profile Picture

Vish WR 914

#2
11manish Profile Picture

11manish 627

#3
Valantis Profile Picture

Valantis 598

Last 30 days Overall leaderboard