We have a use case where the users come in as prehire put in a specific OU. The account is enabled. They work email is a personal email address. On their start date we move the account to an OU based on cost center. We also create a unique company email. I have tried calling AC_NewParent from the AD Update Policy and from the Before Provisioning rule. It has moved a couple of users but for most of them nothing happens. No events and no activity when I do a search. We have disable working. We call the AC_NewParent in the disable policy and users are getting moved. Any suggestions?
Based on your description, it sounds like AC_NewParent is working during Disable operations but is inconsistent during Enable/Update events, which suggests the issue may be related to how and when the provisioning plan is being generated rather than a problem with the move operation itself.
You may want to check the following:
-
Provisioning Plan Validation
- Verify that the Enable/Update operation is actually generating an
AC_NewParentattribute request in the provisioning plan. - Review the Provisioning Transaction details to confirm the target OU DN is being passed correctly.
- Verify that the Enable/Update operation is actually generating an
-
Before Provisioning Rule Execution
- Add logging in the Before Provisioning Rule to confirm it is being triggered for every affected user.
- Validate that all required identity attributes (Cost Center, Start Date, OU mapping values, etc.) are available at runtime.
-
AD Update Policy Logic
- If the OU move is being triggered through an Update Policy, verify that the policy conditions are consistently met for all users.
- Check whether any attribute transformations or lifecycle events are preventing the update from being generated.
-
Target OU DN
- Ensure the OU path being passed through
AC_NewParentis a fully qualified and valid DN. - Check for any special characters or formatting issues in the generated OU value.
- Ensure the OU path being passed through
Hello @lsteuerTD ,
The Disable Account - OU Movement works as expected as you have configured the AC_NewParent attribute in Disable Account - Provisioning Policy. This triggers as expected because there is DISABLE ACCOUNT provisioning operation getting triggered.
But, during the LCS State Change which happens on Start Date of the user where user moves from prehire to active LCS, UPDATE ACCOUNT POLICY wont work but you have to orchestrate this change in “BEFORE PROVISIONING RULE” and the way you will trigger the before provisioning rule is using “Attribute Sync”. Note that when the user moves from prehire to active state, we need to make sure that we are triggering a provisioning operation for AD to enforce this AC_NewParent change through before provisioning which you can either do it through Attribute Sync y updating certain custom extension attribute in AD during LCS state change or you can do it using account state change.
Regards,
Rohit Wekhande.
Hi @lsteuerTD,
Have you tried using the sailpoint service standard before provisioning rule “Services Standard Before Provisioning Rule” xml - Identity Security Cloud (ISC) / ISC Discussion and Questions - SailPoint Developer Community ?
This is a generic rule developed by SailPoint that simplifies common before provisioning operations, such as calling AC_NewParent or modifying the provisioning plan, without requiring you to develop custom rule logic. Instead, you configure the desired behavior through JSON in the source configuration.
Once the rule is deployed in your tenant, attach it to your source by setting the BeforeProvisioningRule parameter.
Then, add the following configuration under the source ConnectorAttributes:
"cloudServicesIDNSetup": {
"eventConfigurations": [
{
"eventActions": [
{
"Action": "ADMoveAccount",
"Attribute": "AC_NewParent",
"Value": "#{identity.targetOU}"
}
],
"Identity Attribute Triggers": [
{
"Attribute": "cloudLifecycleState",
"Value": "active",
"Operation": "eq"
}
],
"Operation": "Enable"
}
]
}
In this example, AC_NewParent is invoked during the Enable provisioning operation when the identity’s cloudLifecycleState changes to active (for example, on the user’s start date).
The value of AC_NewParent is taken from the targetOU identity attribute (#{identity.targetOU}). You can populate this identity attribute using a transform:
- While the user is in the Prehire state, the transform returns the temporary prehire OU.
- Once the user becomes Active on their start date, the transform returns the destination OU based on the user’s cost center.
Note:
- Provisioning policies other than Create Account are not always reliable. I recommend avoiding them whenever possible.
- You can always see the called
AC_NewParentevent on the Identity details > events
This could be because whatever condition you are using to apply the new value to AC_NewParent would not have been met at the time of this specific Update operation for those users. Review your conditions and check if the identity met those conditions
If you are enabling the account in the ‘prehire’ LCS, then you can’t invoke AC_NewParent when they move to ‘active’ as they are already enabled and the rest of the flow stops.
I’ve got a post here: Mover - Update DN in AD - Identity Security Cloud (ISC) / ISC Discussion and Questions - SailPoint Developer Community which solves your issue without the need of a BP rule.
DM me if it needs clarification