The error message shown above is misleading as app assignment is not relevant for HR-driven provisioning scenarios. I'll create a work item for engineering to fix this error message.
Coming back to issue, here is the logic to process terminations during SuccessFactors to AD provisioning initial sync & incremental sync cycles:
- During the first initial sync (or whenever restart is initiated with the Full parameter), when we get "past termination records" where Active=0 (emplStatus!=[AUP] or activeEmploymentsCount=0), by design we skip these records as they are not active in the source HR system.
- During incremental sync, when we detect a termination, when Active flag switches from 1 to 0 (e.g. when emplStatus changes from A to T), we process it and disable the record in AD/Azure AD.
Reason for skip logic: Consider a company that has been in business since 1990. This organization has an HR system with details of all ex-employees. Let's say this company decides to implement HR-driven provisioning on 1-Jan-2022. When we do the first initial sync on 1-Jan-2022, we don't want to process all ex-employees since 1990, as most of their accounts may not even be in IT systems like Active Directory. Including them in the scope of the first initial sync, could lead to creation of several inactive accounts in your on-premises AD. So, by design, we ignore past employees, and we start with a clean state of active employees as-of 1-Jan-2022. In future incremental cycles we process termination transactions disabling accounts as configured in the attribute mappings.
If you are doing a "full restart" every night, this in-effect will trigger an initial sync. As mentioned earlier, by design, the provisioning service skips "inactive users/terminated users" during initial sync, because during that time we are establishing a baseline of all "active" users that we need to manage going forward. Instead of using "full restart" to process terminated users, our recommendation is to simply allow the "incremental sync" to process the terminations.
If there is an issue with "incremental sync" not processing terminations as expected, you can open support case and we will take a look.