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
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/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.