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

UPDATEACCOUNTJSON doesn't modify the account

nfraternali
New Contributor
New Contributor

Hi,

we are testing the Ldap connector for provisioning. We have a problem with UPDATEACCOUNTJSON, after the provisioning job we have this error in the pending task "Error while Update operation for account-CG687ON in LDAP as account not found in LDAP" and the update that we do to a user after the import job don't modify the attributes we want. We check already the logs but we haven't found something helpful.

Can you help us?

@JustSalva @FCaremoli 

6 REPLIES 6

avinashchhetri
Saviynt Employee
Saviynt Employee

@nfraternali,

Is the DN of the account set in the account profile correctly ?

Does that DN match with the DN on the tagret ?

 

 

Regards,
Avinash Chhetri

Yes the DN is set correctly.

Noemi

rushikeshvartak
All-Star
All-Star

Can you share JsOn


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

Hi,

this is the json:

{
"workforceID": "${user.username}",
"fullname": "${user.lastname} ${user.firstname}",
"company": "${user.companyname}",
"givenName": "${user.firstname}",
"sn": "${user.lastname.substring(0, user.lastname.length()>=64 ? 64 : user.lastname.length())}",
"mail": "${user.email}",
"mobile": "${user.phonenumber}",
"telephoneNumber": "${user.secondaryPhone}",
"l": "${user.location}",
"ou": "${if (user?.departmentname != null) { user.departmentname.substring(0, user.departmentname.length()>=64 ? 64 : user.departmentname.length()) } else { if (user?.customproperty12 != null){user.customproperty12.substring(0, user.customproperty12.length()>=64 ? 64 : user.customproperty12.length())} else{''}} }",
"loginDisabled": "false",
"cednegPeopleAnnullato": "N"
}

Does it exist on OU path specified above


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

vivekmohanty_pm
Saviynt Employee
Saviynt Employee

what is the account attribute that contains the dn?