Thank you for your post and I apologize for the delayed response!
From your issue I understand that you're trying to change the Primary Key from PersonIdExternal
to UserID
, but each time you do, you run into an import error. When looking into your issue, it should be possible to change the Primary key from PersonIdExternal
to UserID
as mentioned in the Enabling writeback with UserID section of the documentation.
- To gain a better understanding of your issue can you share the error message that you're running into?
Enabling writeback with UserID:
- Open the SuccessFactors to Azure AD user provisioning app or SuccessFactors to on-premises AD user provisioning app.
- Ensure that an extensionAttribute (extensionAttribute1-15) in Azure AD always stores the userId of every worker's active employment record. This can be achieved by mapping SuccessFactors userId attribute to an extensionAttribute in Azure AD.
- For guidance regarding JSONPath settings, refer to the section Handling worker conversion and rehire scenario to ensure the userId value of the active employment record flows into Azure AD.
- Save the mapping.
- Run the provisioning job to ensure that the userId values flow into Azure AD
Note: If you are using SuccessFactors to on-premises Active Directory user provisioning, configure AAD Connect to sync the *userId* attribute value from on-premises Active Directory to Azure AD.
- Open the SuccessFactors Writeback app in the Azure portal.
- Map the desired extensionAttribute that contains the userId value to the SuccessFactors userId attribute.
- Save the mapping.
- Go to Attribute mapping -> Advanced -> Review Schema to open the JSON schema editor.
- Download a copy of the schema as backup.
- In the schema editor, hit Ctrl-F and search for the JSON node containing the userId mapping, where it is mapped to a source Azure AD attribute.
- Update the flowBehavior attribute from "FlowWhenChanged" to "FlowAlways" as shown below.
- Save the mapping and test the write-back scenario with provisioning-on-demand.
I hope this helps!
Additional Link:
If you have any other questions, please let me know. Thank you for your time and patience throughout this issue.