I have written the code below before provisioning the rule to move the OU of the user to the ‘Lapsed’ status. This code is working fine in our sandbox environment. However, when I deployed this code in the pre-production environment, it is not working as expected, even though I am not seeing any error messages. I have updated the OU as per the pre-production environment and tried running disable optimization, attribute sync, but no luck. Can anyone help me here?
<?xml version='1.0' encoding='UTF-8'?>
Rule executed for Leavers
Have you verified that AC_NewParent is getting set in the provisioning plan?
If it has, you can try viewing the provisioning result in an AfterModify powershell rule. I have sometimes seen errors appear in the result object that are not reported through the UI.
You can try adding the following to an AfterModify Rule: