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 / Getting Error on Submi...
Power Apps
Answered

Getting Error on SubmitForm

(0) ShareShare
ReportReport
Posted on by 12

Hi, let me first say this is my first Powerapps app I have created.  I mostly have it working.  One of the remaining issues I am having is when I do a SubmitForm on a form that is in Editmode.New.

 

I get the following error when I submit the form:

 

 

The requested operation is invalid.

Server Response: PI Planning Notes and Items Tracker failed: The specified user 1:0#.f[membership]xxxxxxx@xxxxxxx.com could not be found.

 

 

I do not have error on other forms anywhere in the app.  I also can update the same data, just get this error on saving data in the form set it new mode.

Categories:
I have the same question (0)
  • jmikemyers Profile Picture
    12 on at

    I figured out the problem, just not how to fix it.  I was thinking it was an error about my account not existing but it is because one the fields is a user complex field.  I am using the below code to fill in the current user but apparently I am doing something wrong because it says that user does not exist.

     

     

     

    {'@odata.type':"#Microsoft.Azure.Connectors.Sharepoint.SPListExpandedUser", Claims:Concatenate("1:0#.f[membership]",User().Email),DisplayName:User().FullName,Email:User().Email}

     

     

     

    This is in the DefaultSelectedItems of the field where the user is entered.

  • Verified answer
    v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @jmikemyers 

     

    Please try this formula in the DefaultSelectedItems of the field

    {Claims:"i:0#.f|membership|"&User().Email,Email:User().Email,Department:"",DisplayName:User().FullName,JobTitle:"",Picture:""}

     

    Best Regards,

    Levi

  • jmikemyers Profile Picture
    12 on at

    Thank You, that worked!

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard