I’m working on an Active Directory source, and I need to handle a use case where the CN (and therefore the DN) of an account must be updated whenever an identity’s firstname or lastname changes.
I understand that AC_NewName can be used to rename the CN and AC_NewParent to move the object, but I’m constrained by the fact that I cannot use Cloud Rules due to budget limitations.
My question is whether it is a reliable and recommended approach to use a Before Provisioning Connector Rule to detect the change, compute a new CN , and set AC_NewName and AC_NewParent or if this is not the right pattern in ISC. Alternatively, would it be better to rely on Attribute Sync combined with the Update Provisioning Policy to populate AC_NewName directly?
I have had great luck with multiple clients leveraging the Services Standard Before Provisioning Rule . Using configuration patterns to accomplish the name change as well as other common AD behaviors. It can also be leveraged with some other connectors, but a number of the functions are for AD. Getting it deployed on my clients’ tenants was relatively painless, just taking a request ticket. Depending on the subscription you have, deployment of cloud rules may be included, you will have to verify with your account representative. I hope you are able to find what you are looking for.
I have leveraged some of the other immutable unique ids on AD to create a secondary correlation attribute by pulling in the unique ID into the identity through the profile, then leveraging that to correlate. It is also the same ID I’ve seen used with Entra hybrid account syncs, so you can leverage that ID to find the corresponding Entra account as well.
It is not recommended to go through the account profiles because attributes set there go through a verification stage after provisioning. Since AC_NewParent and AC_NewName are not read via the connector, they can never be verified. This results in “stranded” account activity entries within the IdentityNow tenant.
Also, Cloud Rule is the only avenue that I know of, because ISC needs to know the value of AC_NewName to re-aggregate the new Account ID. If a connector rule was used, ISC would not be aware of the use of the special attribute.
We have never successfully implemented the automation of what you are asking.
Changing those values - in all my installs - have involved CN, sAMAccountName, UPN, email, etc
Its generally a low usage case and ultimately easier to do as a manual intervention