Entra ID to Salesforce auto provisioning - how to link the Entra ID account to a different Salesforce user account?

Sana R 5 Reputation points
2023-12-15T23:34:58.7566667+00:00

We have Entra ID to Salesforce integration for auto provisioning / deprovisoning. The link to both the system is via matching Federation ID field in EntraID and Salesforce.

We have a use case whereby we are intentionally blocking user provisioning update on an existing Salesforce user account when a key user attribute value changes in Entra ID (for example, user changes to a different sister company). In this case, the Entra ID provisioning results in error because we have a validation rule in Salesforce to prevent the auto provisioning update. We then manually update the Federation ID of this user at the Entra ID level so that we would expect Entra ID to create a new Salesforce user account. However, this does not happen as Entra ID seems to be trying to update the previously linked Salesforce user account.

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

1 answer

Sort by: Most helpful
  1. Jess Astorga 111 Reputation points Microsoft Employee
    2023-12-29T20:34:13.4866667+00:00

    Hello Sana,

    Thank you for your question, you are correct, in this case since we have already established a link with an identity the sync engine will continue to update that specific identity.

    To clear this link and allow the sync engine to search for the identity based on the matching property, you will need to run the graph call from the document you linked on one of your comments:

    To run the call, you'll need:

    • The objectId of the provisioning app.
    • The jobId of the provisioning app.
    • A global admin who can sign in to graph and consent to this permission: Synchronization.ReadWrite.All

    The graph call is:

    POST https://graph.microsoft.com/beta/servicePrincipals/{id}/synchronization/jobs/{jobId}/restart
    Authorization: Bearer <token>
    Content-type: application/json
    {
       "criteria": {
           "resetScope": "Full"
       }
    }
    

    Please let me know if you have any questions about the steps provided.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.