I am working on a leaver scenario where once a user is terminated via leaver his ad account should be disabled and moved to another ou. I am able to disable the account but not sure how to move it to another ou.
Simplest way to do this is by updating the provisioning plan with this accountRequest.add(new AttributeRequest("AC_NewParent", ProvisioningPlan.Operation.Set, newOU));