Announcements
I guess the issue is because you are updating the same SharePoint Person column in 2 time. Your DataCard Update property is already set to DataCardValue9.Selected and then again you are manually patching the same field inside the Patch function code while also using Form1.Updates.
Try below code:
{ '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser", Claims: "i:0#.f|membership|" & Lower(DataCardValue9.Selected.Mail), DisplayName: DataCardValue9.Selected.DisplayName, Email: DataCardValue9.Selected.Mail, Department: "", JobTitle: "", Picture: "" }
So no need to patch the Person field manually again. Just use SubmitForm and try it.
LookUp( AddColumns( Filter( Office365Users.SearchUserV2({isSearchTermRequired: false}).value, !IsBlank(Mail) && AccountEnabled = true ), FullLabel, DisplayName & " (" & Mail & ")" ), Mail = _selectedITem.SingleUser.Email ) //_selectedITem - Replace with you variable - Which you have used for store the selected item for edit form.
Best regards, Valantis
✅ If this helped solve your issue, please Accept as Solution so others can find it quickly. ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :). 🏷️ For follow-ups @Valantis. 📝 https://valantisond365.com/
💼 LinkedIn
▶️ YouTube
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 424
WarrenBelz 355 Most Valuable Professional
11manish 290