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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Edit item people colum...
Power Apps
Unanswered

Edit item people column The specified user i:0#.f|membership| could not be found

(0) ShareShare
ReportReport
Posted on by 2,563

Hi

 

I have a weird issue in my power app.

I have a form with a column named "Select Approver"


Items list users.
Update =

If(DataCardValue1.Selected.Value = "Access Request",
{ 
 '@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
 Department: "", 
 DisplayName:DataCardValue29.Selected.displayName,
 Claims:"i:0#.f|membership|" & DataCardValue29.Selected.mail, 
 Email:DataCardValue29.Selected.mail,
 JobTitle: "",
 Picture: ""
}, Blank())

 

When i create and submit a new item to SharePoint using SubmitForm everything works and the user is displayed correctly in the SharePoint people column.

 

Now if i go to the item and select Edit and i try to save it i get the following error.
The specified user i:0#.f|membership| could not be found.

 

But if i Edit the item and re-select the user in the combobox "Select Approver" then saving it works fine without any error. But i need to re-select the user even if it is already selected.

Categories:
I have the same question (0)
  • mdevaney Profile Picture
    29,989 Moderator on at

    @JimmyWork 

    Type this code into the Text property of a label.  What does it display when your form is in Edit Mode right before clicking Save where the problem occurs.

    "i:0#.f|membership|" & DataCardValue29.Selected.mail

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • Verified answer
    JimmyW Profile Picture
    2,563 on at

    @mdevaney Thank you for answering.

     

    I found the issue.
    In the update i need to put = DataCardValue29.Selected

    And in Default i put

     

    If(DataCardValue1.Selected.Value = "Access Request",
    { 
     '@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
     Department: "", 
     DisplayName:DataCardValue29.Selected.displayName,
     Claims:"i:0#.f|membership|" & DataCardValue29.Selected.mail, 
     Email:DataCardValue29.Selected.mail,
     JobTitle: "",
     Picture: ""
    }, Blank())

     

  • mdevaney Profile Picture
    29,989 Moderator on at

    @JimmyWork 
    I'm not sure why it works but i'm glad you found the answer.  Be sure to accept your own post as the solution.  😀

     

    Best of luck building your app!

     

     

  • indhaa Profile Picture
    on at

    Hi

     

    I'm getting the same error.

     

    Can you help me because it doesn't work for me. 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard