Update only active AD account

Hello,

V8.2.1

The changes done on HR account is reflecting on the associated AD account. I want the changes to reflect only on active AD account and not on disabled AD account. Please suggest.

Thanks,