I'm trying to update a user using upsert based on federation id.
<urn:upsert xmlns:urn="urn:enterprise.soap.sforce.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <urn:externalIDFieldName>FederationIdentifier</urn:externalIDFieldName> <urn:sObjects xsi:type="urn1:User"> <FederationIdentifier>1</FederationIdentifier> .... </urn:sObjects> </urn:upsert>
I'm getting the following error:
INVALID_FIELD: Field name provided, FederationIdentifier does not match an External ID, Salesforce Id, or indexed field for User
Is it possible to use federation Id for this query? Is there any change I should make to this field in order to make it work?