Remove AD Attribute custom script

Remove AD Attribute custom script

Hello, 

We're trying to make an automation to remove the manager attribute after an account is disabled.

This work from directly from powershell changing (USERNAME) to the sAMAaccountName but when is runs from automation module dont work

Set-ADUser (USERNAME) -manager $null



script



It says successful but the attribute still there




                New to ADManager Plus?

                  New to ADSelfService Plus?