I am trying to assign the sAMAccountName from AD to a specific identity attribute. However, as there are identities with multiple AD accounts, we need to pick the account where the attribute msDS-cloudExtensionAttribute1 == "PRIMARY"
- What have you tried?
Used below block as first option in a firstValid transform
{
"type": "accountAttribute",
"attributes": {
"sourceName": "Active Directory",
"attributeName": "sAMAccountName",
"accountPropertyFilter" : "(msDS-cloudExtensionAttribute1 == \"PRIMARY\")"
}
},
- What errors did you face (share screenshots)?
this block is skipped even when the identity has an account in AD where above condition is satisfied
What am I missing or how do I make this logic work?