Hello Community,
I have defined a person column in the SharePoint, I have used the Combo to pull the names from Microsoft365 employee names
when I search with employee name Jon hernandez, the Combo box is showing 2 suggestions for Jon Hernandez(Their emails are like Jon.her@xyz.com,Jon.her-1@xyz.com ) when I click on save it is throwing the below error.
Error
Network error when using Patch function: The requested operation is invalid.
when I use a different name if the combo box give a single suggested name it is saving perfectly.
This is my Patch Function:
Patch(
'THKL-MasterFile',
ForAll(
Gallery2.AllItems,
{
EmployeeName: {
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims: "i:0#.f|membership|" & EmployeeNameCard.Selected.DisplayName,
Department: "",
DisplayName: EmployeeNameCard.Selected.DisplayName,
Email: EmployeeNameCard.Selected.Mail,
JobTitle: "",
Picture: ""
},
Can someone please help with this.
Thanks in advance.