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.
Thank You, that worked!
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
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.
WarrenBelz
89
Most Valuable Professional
MS.Ragavendar
58
Michael E. Gernaey
42
Super User 2025 Season 1