Hi all,
I am trying to update the “targetAddress” attribute when creating an account on active directory.
I have done below things:
Created account attribute “targetAddress”
Created a create profile mapping for the attribute targetAddress as value= SMTP:[email protected]
Once all this was done i created a new account in Sandbox and it works. But the same configuration when moved to prod fails with an ERROR
“The specified directory service attribute or value does not exist.”
Checks we did:
We have checked and the same permissions are on both sandbox and prod service account.
We have also checked to see if target address attribute is on Prod AD, and it is indeed there.
We tried to aggregate the target address as well, and it does gets pulled form AD just a note here is that it is aggregated in “externalEmailAddress” attribute on IDN.
Later on we also tried to directly add externalEmailAddress as a create profile mapping instead of targetAddress to see if that gets populated. But got the same error and also saw that the Attribute request was sent as targetAddress: SMTP:[email protected]
Just to highlight: This is still working in Non-Prod sandbox and is indeed updated on Active directory. But Fails in production
Hi @neeraj99
It might be due to other attributes being provisioned during user creation. Verify in prod , if any schema attributes are exceeding length constraints or if you’re provisioning an attribute that doesn’t exist in Active Directory.Also check case sensitivity of targetAddress.
I did that, so if i remove target address and retry provisioning the account, It will work and create AD account but if i add target address will fail.
yes targetAddress is the name of attribute.
I did checked that post out, but in my case externalEmailAddress is getting populated. rather than exch_externalEmailAddress.
And i did tried to populate the attirbute via both the names i.e
targetAddress
externalEmailAddress
but in both cases it fails and on account activity->attribute request, it shows as targetAddress.
Hi @neeraj99 ,
One more suggestion , Ask Prod Admin/Operations Team to update the value of targetAddress directly in Prod using same svc account that ISC is using.In this way at least we can confirm the attribute does not have any constraints.
Yes we have tried populating the attribute directly from AD, it works.
Next, we have also tried to update the attribute using a powershell script with the svc we are using and it works there as well, i.e the attribute is being updated in AD.
Just a quick update over here if anyone see’s this later on. So we ended up removing the Exchange setting from AD source Using PATCH Source API. Which then started populating the targetAddress attribute on AD.