Policy scripts do not trigger when performing operations against a Deprovisioned object
When an operation is performed against a Deprovisioned object which is expected to trigger a policy script, instead, the policy is not triggered. There are no errors and no mention of the Policy in the object's Change History.
Operations performed on Deprovisioned objects will not trigger anything configured in a Provisioning Policy as a script module. This is by design.
Add the script to a Deprovisoning Policy as a script module.