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

Special characters in the user's ( CN, display name, first name & last name)

Manpreet_Kaur
New Contributor II
New Contributor II

Dear Team,

We need assistance for Saviynt to accept special character in user's  name(CN, display name, first name or last name). Currently Saviynt is having issue to complete update AD account task, and the error is pointing to special character in the name.

There is a user with the user name like --xx D/o xx. When any attribute of the user is updated and simultaneously the task triggers basis the rule, the task gets stuck in pending state and it gives the error message " Error while update operation for account, LDPA error code=1
When Saviynt triggers the task due to the special character in the name of the user the tasks are stuck in pending state.

We have updated the "updateaccountjson" as -${cn?.replace('/', '\\\\,')?.replace('/','\\/')} in the lower environment to test.
However, post the rule trigger the update account task throws the below error:

Error: Error while Update operation for account-sglfiam9 in AD - [LDAP: error code 1 - 000020D6: SvcErr: DSID-031007FA, problem 5012 (DIR_ERROR), data 0 ]

We have a requirement to manage the below special characters in the user's name:

The special characters are:      -  /  ,  '   .  @  ()

Requesting you to assist in providing inputs on the same.

Regards,

Manpreet Kaur

2 REPLIES 2

Raghu
All-Star
All-Star

@Manpreet_Kaur  try below

${cn?.replace(',', '\\\\,')?.replace('/','\\/')}

https://forums.saviynt.com/t5/identity-governance/adsi-addaccessjson-reads-variables-as-plain-text/t...

 


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

rushikeshvartak
All-Star
All-Star

"cn": "${cn?.replace(',', '\\2C')?.replace('=', '\\3D')?.replace('+', '\\2B')?.replace('<', '\\3C')?.replace('>', '\\3E')?.replace(';', '\\3B')?.replace('\\', '\\5C')?.replace('\"', '\\22')?.replace('#', '\\23')?.replace('\'', '\\27')?.replace('/', '\\2F')}",


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