A cloud-based identity and access management service for securing user authentication and resource access
SuccessFactors to AD provisioning: accountDisabled expression evaluates True but is not exported in Modified Properties
Hi Team,
We are working on Microsoft Entra provisioning from SAP SuccessFactors to on-premises Active Directory.
Use case: We need to disable or enable the AD account based on two SuccessFactors custom fields:
- customString25 = Exempt flag
customString27 = Block Leave flag
Expected logic:
If customString25 = Yes, the user should remain enabled.
If customString27 = Yes and the user is not exempt, the AD account should be disabled.
If customString27 = No/blank and the user is not exempt, the AD account should remain enabled.
If activeEmploymentsCount = 0, the AD account should be disabled.
Current accountDisabled expression configured in Entra:
IIF([customString25]="Yes",False, IIF([customString27]="Yes",True, IIF([activeEmploymentsCount]="0",True,False)))
Configuration verified:
customString25 and customString27 are visible in Entra Import User.
accountDisabled mapping type is Expression.
accountDisabled mapping is set to apply Always, not only during object creation.
Expression Builder returns the expected Boolean True/False values.
Test AD account is currently enabled.
User matching between SuccessFactors and AD is successful.
Termination and rehire scenarios worked earlier, so AD enable/disable permissions appear to be working.
cn and manager mappings were adjusted so they should not block this test.
Issue: During Provision on Demand, the expression evaluates correctly in the expression builder, but accountDisabled is not consistently appearing in the final Evaluate Action / Modified Properties, and the AD account is not being disabled for the Block Leave scenario.
Question: Why would accountDisabled not be included in the final export/modified properties when:
the expression evaluates to True,
the mapping is set to Always,
the AD account is currently enabled,
and the user is matched successfully?
Is there any known limitation, cache/delta behavior, restart requirement, or connector-specific behavior when newly added SuccessFactors custom fields are used in an accountDisabled expression for provisioning to on-premises AD?
Any guidance or troubleshooting steps would be appreciated.