Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Active directory error code 65

Ekata_bharati
New Contributor II
New Contributor II

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

6 REPLIES 6

rushikeshvartak
All-Star
All-Star

Try below

"extensionAttribute7": "${user.secondaryphone != null ? user.secondaryphone : ''}",

Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Its not working. same error as earlier. Can it be something from AD target side?

 

NM
Honored Contributor III
Honored Contributor III

@Ekata_bharati does AD have a restriction on phone number format??

Ankky
Regular Contributor
Regular Contributor

Please confirm if you are able to process the task post removing secondary phone mapping. Additionally, Please share the complete logs.

Ekata_bharati
New Contributor II
New Contributor II

Hi, If I remove the secondary phone attribute the update runs properly. I have attached the logs with both cases.

Ankky
Regular Contributor
Regular Contributor

Try provisioning a static secondary phone value.