Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Active Directory CheckForUnique is not working

New Contributor II
New Contributor II

Hi Team,

We are checking uniquness of mail attribute during Active directory account provisioning.

But it is provisioning the duplicate mail and not updating to make it unique, same mail exist in the other active directory account. 

Checkforuniquenes  is not making the mail attribute unique and provisioning the duplicate value

below is the code snippet:


"mail": "${user.firstname.charAt(0)}${user.lastname}@XXXXX###${user.firstname.charAt(0)}${user.lastname}${


Also, provisioning of AD account is successful.

Update : Seeing below error in the logs: 

Error while searching for mail=testuniqu1@XXXX-[LDAP: error code 32 - 0000208D: NameErr: DSID-0310021F, problem 2001 (NO_OBJECT), data 0, best match of:

[This message has been edited by moderator to merge reply content]


Saviynt Employee
Saviynt Employee

Hi @ashutoshkumar16 

Could you clarify where are you storing the email addresses? There are several articles to achieve uniqueness for email. I'm pasting below links for your reference.