Hi. I have a demand where an identity that is dismissed must clear his manager on AD. I have configured a provisioning policy with a transform that sets manager attribute to “” when user is leaving organization, but it does not reflect on AD.
The Active Directory connector still requires a valid Distinguished Name (DN) when updating the manager attribute. If you send an empty string ("") or null, the connector does not clear the manager field—it simply skips the update. This is by design, because AD schema validation rejects blank DNs.
So, even though your provisioning policy transform sets manager to "", the connector interprets that as “no change.”
Ways to Clear the Manager
UseProvisioningPlan.Operation.Removewithnull
In a Before Provisioning Rule, explicitly remove the attribute:
new AttributeRequest("manager", ProvisioningPlan.Operation.Remove, null);
This tells the connector to clear the value instead of setting it to empty.
2. Clear bothmanagerandmanagerDN If your identity model includes both attributes, remove both:
Use a Before Provisioning Rule instead of a transform
Transforms can’t issue a Remove operation—they only set values. The rule approach ensures the connector sends a proper, clear instruction to AD.
Hi @Santhakumar thanks for your confirmation. Actually I have an after operation rule whith clears the manager with powershell:
Set-ADUser -Identity $nativeIdentity -Clear manager
is actually working but it was desired to get a more “configurable” way. With this confirmation I can move on, thanks!