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

remove duplicity in AccountNameRule (during assigning the DN) in AD?

sandeepverma
Regular Contributor
Regular Contributor

Hi Team,

How can we remove duplicity in AccountNameRule (during assigning the DN) in AD?

 

Thank you

Sandeep

4 REPLIES 4

avinashchhetri
Saviynt Employee
Saviynt Employee

Hello @sandeepverma,

If I understand your requirement, you are looking to generate a unique DN incase the current one generated in not unique.

Please check the document lin below under ACCOUNTNAMERULE for examples on it.

https://saviynt.freshdesk.com/support/solutions/articles/43000615764-active-directory-ad-connector-g...

 

 

 

Regards,
Avinash Chhetri

sandeepverma
Regular Contributor
Regular Contributor

Hi Avinash,

Actually I want to add an auto increment number in case of duplicity of AccounNameRule logic (my logic is CN=${user.lastname}\\, ${user.firstname}, ou=......).

If I am not wrong on freshdesk portal they have used hard coded number along with ### for same.

sandeepverma_0-1663655667065.png

Thank you,

Sandeep

### code is used when first rule fail it check if next is available or not so syantax is correct


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

@sandeepverma,

At the moment, you cannot auto increment but have to hard code it as shown in the documentation. If the first logic does not generate a unique DN, it will go on to the next logic and so on...

 

 

 

Regards,
Avinash Chhetri