I have a combo box that has items from a collection created from a Office 365 group.
I then have the following set on my Patch button.
OnSelect:
Clear(colSelectedDelegates);
ForAll(
Selected_Delegates.SelectedItems,
Collect(colSelectedDelegates,
{
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims: "i:0#.|membership|" & Lower(ThisRecord.mail),
Department: "",
DisplayName: ThisRecord.displayName,
Email: ThisRecord.mail,
JobTitle: "",
Picture: ""
}
)
);
Patch(
MyDataSource,
ThisItem,
{
DelegatesTest: colSelectedDelegates
}
)
This button is on each gallery Item so I refer to ThisItem.
I get an error saying: The request operation is invalid.
I Check my collection and it looks correct.