IdentityIQ 6.2x, 6.3x, 6.4x, 7.0x
When the end system is Active Directory.
After moving an Active Directory account to a different DN, two accounts (duplicates) appear; one with the old DN and one with the new DN.
The situation may arise when an account's DN is changed either through an IIQ process or natively. In the scenario where duplicate accounts appear, here is the situation:
To better understand why the two duplicate accounts appear, it's important to realize that IIQ needs to know the uuid of an existing account before it can know that an account with a different DN is the same account. The uuid of an Active Directory link in IIQ is the Object-Guid of the account in Active Directory. When an account is created in Active Directory, the AD system sets the Object-Guid value and this value never changes for the account afterwards.
When an account is created for Active Directory in IIQ, IIQ does not know the uuid of the account until an aggregation is done. So, one may see duplicate accounts in Active Directory if the following occurs:
Since the uuid value of the link in the above scenario would be absent, then the next time a delta aggregation occurs, the account with the new DN will be seen as a new account and brought over. And since deleted accounts cannot be detected on delta aggregations, the account with the old DN is not deleted from IIQ.
In order to make sure that a changed DN for an account will be modified for the existing IIQ link, be sure that the link has a uuid value. The following can be done to ensure that the uuid value is populated:
Once the uuid is brought over, you can would see it in the identity xml for the Link. For example:
<Link created="1466110129346" displayName="test2" entitlements="true" id="4028c801555af79a01555af934c2000a" lastRefresh="1466110581833" modified="1466110582489" identity="CN=Steve Test2,CN=Users,DC=idmsupport,DC=com" uuid="{48c381c0-2386-4f2c-9d6d-00d5874edfc0}">
And once the valid uuid is present for the link, a DN change can be done correctly, with the delta aggregation bringing the DN change over. There would be no duplicate entries if the uuid value is present before the delta aggregation.