Share all details related to your problem, including any error messages you may have received.
Hi there,
I need to change the OU (Organization Unit) of a Identity/User in Active Directory Application.
I didn’t found out any OOB functionality to do this, so I assuming I need to develop some code…
If so, can you please give some highlights/example on how to do it?
I need to change all the user’s that have a specific entitlement from Active Directory Application.
I’ve also have another requirement of changing this automatically if that entitlement is added to an identity.
For SailPoint IdentityIQ (IIQ), to automate the process of changing an identity’s Organizational Unit (OU) in Active Directory when a specific entitlement is added, you’ll need to create a combination of a rule, a custom workflow, and possibly modify your Active Directory connector configuration.
Step 1: Define the Rule
You need to create a rule in IIQ that will determine when an identity’s OU should change based on the entitlements associated with that identity. This rule will typically be invoked by a workflow.
Step 2: Modify the Active Directory Connector (if necessary)
You may need to ensure that the Active Directory (AD) connector in IIQ is configured to allow modifications to the distinguishedName attribute. This setup is usually done in the Connector Configuration under your IIQ admin interface.
Step 3: Create a Workflow
Develop a workflow that:
Is triggered when an identity receives a new entitlement or during regular reviews.
Invokes the rule you wrote to calculate the new OU.
Applies the change to the identity’s profile in IIQ, which in turn should synchronize with AD.
For automating the process You can schedule the workflow to run at specific intervals or trigger based on events.
Hi Paolo,
To move AD account to different OU you have to provision value of the new OU into the attribute calles AC_NEWPARENT. Once you do that the connector will move the account to new OU.
Its fairly simple task but lets think a bit about the requirements you have.
In first place you have to move all accounts which have certain AD Entitlement into new OU and then whenever someone gets this entitlement should also be moved to this OU. Am I right with my inderstanding?
If yes we have 2 diffrenet processes.
Mass move to new OU - here as as @Saket95606 mentioned the easiest way would be to write a small rule to achieve this and execute it via run rule.
Move whenever certain entitlement is granted - here i would create a before provisioning rule where I would inspect provisioning plan to check if operation in the plan is add entitlement and if yes then move the account.
In first case you will have to find population of users who has required entitlement - you can either write a filter and get it via QueryOptions or just click it through in Advanced Analytics → Ideantity Search and save as Population. Once you do that - for each identity you have on the list - create Provisioning Plan with AC_NEWPARENT attribute value and execute it.
In second casenyou don’t need to search for identitynso you can just add thisnattribute into the plan it is already granting required permission.