AD Before Provisioning rule not working as expected

Hi @kalyannambi2010,

If the user account is already in a disabled status, there will be no provisioning activity triggered, so you cannot modify the plan as there is no plan generated in the first place.

You will need to sync some attribute to AD (eg. employee status) as part of the user termination and then modify the plan to accommodate your changes.

Alternatively, you can make use of an aftermodify powerShell script instead of a before provisioning rule to achieve this.

Please also take a look at the below thread on making use of the Services Standard Before Provisioning Rule to achieve most of the AD use cases by making changes in the source configuration.