Click HERE to see how Saviynt Intelligence is transforming the industry. |
10/14/2024 08:29 AM
Hi Team,
I have a use case to update the secondary phone number of the user by using update user form. The value is coming from extension attribute 7 of AD.
I am able to run the rule and create the task but while provisioning it throws error code 65.
Error while Update operation for account-P47974 in AD - [LDAP: error code 65 - 00002014: UpdErr: DSID-031A12B6, problem 6002 (OBJ_CLASS_VIOLATION), data 0 ]
Below is the update account Json:
{
"cn": "${cn}",
"company": "${user.companyname}",
"co": "${user.country}",
"telephoneNumber": "${user.phonenumber}",
"manager": "${managerAccount != null ? managerAccount.accountID : ''}",
"givenName": "${user.firstname}",
"initials": "${user?.middlename==null?'':user.middlename.substring(0,1)}",
"sn": "${user.lastname}",
"extensionAttribute7": "${user.secondaryphone}",
"userPrincipalName": "${user.username}@testaaa-bbb.net",
"department": "${user.departmentname}",
"employeeID": "${user.employeeid}",
"displayname": "${user.lastname}${user?.customproperty21==null?'':' '+user.customproperty21+'.'}, ${user.firstname}${user?.middlename==null?'':' '+user.middlename.substring(0,1)+'.'}",
"l": "${user.city}",
"mail": "${user.email}",
"mobile": "${user.phonenumber}",
"physicalDeliveryOfficeName": "${user.location}",
"st": "${user.state}",
"streetAddress": "${user.street}",
"title": "${user.title}",
"employeetype": "${user.employeeType}",
"sAMAccountName": "${user.username}",
"postalCode": "${user.regioncode}",
"facsimileTelephoneNumber": "${user.customproperty50}",
"objectClass": [
"top",
"person",
"organizationalPerson",
"user"
]
}
can you please check and advise on this issue.
Thanks,
Ekata
Solved! Go to Solution.
10/14/2024 10:01 AM
Try below
"extensionAttribute7": "${user.secondaryphone != null ? user.secondaryphone : ''}",
10/15/2024 01:30 AM
Its not working. same error as earlier. Can it be something from AD target side?
10/15/2024 01:35 AM
@Ekata_bharati does AD have a restriction on phone number format??
10/15/2024 04:14 AM
I am not sure about the format used in AD.. It is just told that 10 numbers should be the limit and the data coming from AD is like below:
10/14/2024 10:05 AM
Please confirm if you are able to process the task post removing secondary phone mapping. Additionally, Please share the complete logs.
10/15/2024 01:35 AM
10/15/2024 01:59 AM
Try provisioning a static secondary phone value.
10/15/2024 03:46 AM
If I use "extensionAttribute7": "122-233-3444", then it gets updated successfully. but if I pass the above both the cases it fails now with error code 32 Error while Update operation for account-p47974 in AD - [LDAP: error code 32 - 00000525: NameErr: DSID-031A12A8, problem 2001 (NO_OBJECT), data 0, best match of: '' ]
10/15/2024 06:57 AM
10/15/2024 07:28 AM
Issue was resolved with "extensionAttribute7": "${null != user?.secondaryPhone ? user.secondaryPhone:' '}",