No, the correlation is fine and the account looks perfect once I run a full aggregation.
What I did now is configure an AterCreate rule to print the $requestObject and from there I see that the AccountRequest does not contain the nativeIdentity or the updated AttributeRequests:
Request as XML object in AFterCreate is:
<AccountRequest application="Active Directory [source]" op="Create" nativeIdentity="OU=Users,OU=xxxxxx,OU=LXS Objects Test,DC=ad,DC=xxxxxx,DC=com">
<AttributeRequest op="Add" name="memberOf" value="CN=TST_DE73_DE10,OU=Organizational Structure Groups,OU=Groups,OU=xxxxxx,OU=LXS Objects Test,DC=ad,DC=xxxxxx,DC=com" />
<AttributeRequest op="Add" name="ObjectType" value="User" />
<AttributeRequest op="Add" name="password" value="xxxxxx">
<Attributes>
<Map>
<entry key="secret" value="true" />
</Map>
</Attributes>
</AttributeRequest>
<AttributeRequest op="Add" name="givenName" value="TIDN" />
<AttributeRequest op="Add" name="sn" value="User116" />
<AttributeRequest op="Add" name="pwdLastSet">
<Value>
<Boolean>false</Boolean>
</Value>
</AttributeRequest>
<AttributeRequest op="Add" name="IIQDisabled">
<Value>
<Boolean>false</Boolean>
</Value>
</AttributeRequest>
<AttributeRequest op="Add" name="description" value="Created by SailPoint IdentityNow as a part of testing" />
<AttributeRequest op="Add" name="userPrincipalName" value="xxxxx.com" />
<AttributeRequest op="Add" name="department" value="LXSD-BOMP-IT-AP-GHRS-IARM" />
<AttributeRequest op="Add" name="userAccountControl" value="512" />
<AttributeRequest op="Add" name="accountExpires" value="9223372036854775807" />
<AttributeRequest op="Add" name="employeeNumber" value="10000116" />
<AttributeRequest op="Add" name="co" value="DE" />
<AttributeRequest op="Add" name="c" value="DE" />
<AttributeRequest op="Add" name="comment" value="Normal User" />
<AttributeRequest op="Add" name="employeeType" value="Regular" />
<AttributeRequest op="Add" name="extensionAttribute4" value="false" />
<AttributeRequest op="Add" name="preferredLanguage" value="en-US" />
</AccountRequest>
I did include this line in the BeforeCreate script which sends back the updated requestObject:
$requestObject.toxml()|out-file $args[0];
Here is the result object on the AfterCreate rule:
<?xml version="1.0" encoding="utf-8"?>
<ServiceResult>
<Attributes>
<Map>
<entry key="returnRequest">
<value>
<AccountRequest application="Active Directory [source]" op="Create" nativeIdentity="CN=IDN_QIIBL,OU=Users,OU=xxxxx,OU=LXS Objects Test,DC=ad,DC=xxxxx,DC=com">
<AttributeRequest op="Add" name="memberOf" value="CN=TST_DE73_DE10,OU=Organizational Structure Groups,OU=Groups,OU=xxxxx,OU=LXS Objects Test,DC=ad,DC=xxxxx,DC=com" />
<AttributeRequest op="Add" name="ObjectType" value="User" />
<AttributeRequest op="Add" name="password" value="xxxxx">
<Attributes>
<Map>
<entry key="secret" value="true" />
</Map>
</Attributes>
</AttributeRequest>
<AttributeRequest op="Add" name="givenName" value="TIDN" />
<AttributeRequest op="Add" name="sn" value="User117" />
<AttributeRequest op="Add" name="pwdLastSet">
<Value>
<Boolean>false</Boolean>
</Value>
</AttributeRequest>
<AttributeRequest op="Add" name="IIQDisabled">
<Value>
<Boolean>false</Boolean>
</Value>
</AttributeRequest>
<AttributeRequest op="Add" name="description" value="Created by SailPoint IdentityNow as a part of testing" />
<AttributeRequest op="Add" name="userPrincipalName" value="xxxxx.com" />
<AttributeRequest op="Add" name="department" value="LXSD-BOMP-IT-AP-GHRS-IARM" />
<AttributeRequest op="Add" name="userAccountControl" value="512" />
<AttributeRequest op="Add" name="accountExpires" value="9223372036854775807" />
<AttributeRequest op="Add" name="employeeNumber" value="10000117" />
<AttributeRequest op="Add" name="co" value="DE" />
<AttributeRequest op="Add" name="c" value="DE" />
<AttributeRequest op="Add" name="comment" value="Normal User" />
<AttributeRequest op="Add" name="employeeType" value="Regular" />
<AttributeRequest op="Add" name="extensionAttribute4" value="false" />
<AttributeRequest op="Add" name="preferredLanguage" value="en-US" />
<AttributeRequest op="Add" name="sAMAccountName" value="IDN_QIIBL" />
<AttributeRequest op="Add" name="userPrincipalName" value="[email protected]" />
</AccountRequest>
</value>
</entry>
<entry key="requestProcessedOn" value="11/8/2024 3:19:26 PM" />
<entry key="groupDCs">
<value>
<Map>
<entry key="dc=ad,dc=xxxxx,dc=com" value="xxxxx.ad.xxxxx.com" />
</Map>
</value>
</entry>
<entry key="objectguid" value="{c7b44e40-c598-4a2a-9d47-a24a098c2deb}" />
<entry key="createdOnServer" value="xxxxx.ad.xxxxx.com" />
</Map>
</Attributes>
</ServiceResult>
The only problem I see is that I need to remove the old AttributeRequest for the UPN which i missed, but as you can see both the nativeIdentity and the sAMAccountName are correctly set.
Is there anything else I missed?