Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Error in user creation for Salesforce connector

Jyoti1
Regular Contributor
Regular Contributor

When trying to create a user from saviynt to salesforce we are getting the below error for a specific profile. Could you please let us know what could be possible root cause for this error

Connector: Salesforce
Error:DEBUG provisoning.SalesForceProvisioningService - Error in user creation errorCode: INVALID_CROSS_REFERENCE_KEYmessage: Cannot create a portal user without contact

 

2 REPLIES 2

naveenss
All-Star
All-Star

Hi @Jyoti1  From the error, I see you're trying to create a user in Salesforce with partner community license. Is that correct? If yes, for creating a partner user in Salesforce, the mandatory contact ID should be created before the user is created in SF.

 

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

Anu
Regular Contributor
Regular Contributor

@naveenss  We have a similar requirement as mentioned in the above error .How can we handle contact creation before user creation. Could you please share the sample Json.