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

ADSI connector create account json issue

Soumyaprateek
New Contributor III
New Contributor III

Hi,

We have a requirement to make cn value as lastname,firstname for ADSI connection. In create account json this cn value when passed like user.lastname+','+user.firstname it is not provisioning but works with user.lastname+user.first name.

Appreciate any suggestion in this regard.

Soumyaprateek_0-1678472626087.png

Regards,

Soumya

4 REPLIES 4

Saathvik
All-Star
All-Star

Try as below

"cn": "${if(task.endpoint.customproperty2.equals('xyx')){user.lastname + ',' + user.firstname} else {user.username}}"

 or

"cn": "${if(task.endpoint.customproperty2.equals('xyx')){user.lastname + '\,' + user.firstname} else {user.username}}"

Regards,
Saathvik
If this reply answered your question, please Accept As Solution and give Kudos to help others facing similar issue.

Hi,

We tried with both the queries but they didn't work.

Appreciate any alternate solution.

Regards,

Soumya

 user.lastname+'\\,'+user.firstname


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

Darshanjain
Saviynt Employee
Saviynt Employee

As updated, 

Using this the issue was fixed

"cn": "${user.firstname}\\\\, ${user.lastname}",