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

Account expire as end date in AD

Kirti14
New Contributor
New Contributor

Hello Team,

I am facing error while mapping accountexpiry with enddate in createaccountjson in AD

Json:

{
"accountExpires": "${user.enddate != null ? 10000*(user.enddate.getTime() + 11644473600000):'0'}",
"c": "${user.customproperty14}",
"cn": "${user.systemUserName}",
"ObjectClass": [
"top",
"person",
"organizationalPerson",
"user"
],

"DisplayName": "${user.displayname}",
"Division": "${user.customproperty13}",
"EmployeeNumber": "${user.employeeid}",
"extensionAttribute4": "${user.customproperty10}",
"extensionAttribute6": "${user.systemUserName}",
"extensionAttribute7": "${user.employeeid}",
"extensionAttribute11": "${user.costcenter}",
"extensionAttribute12": "${user.customproperty9}",
"extensionAttribute13": "${user.departmentNumber}",
"extensionAttribute14": "${user.departmentname}",
"SamAccountName": "${user.systemUserName}",
"GivenName": "${user.firstname}",
"l": "${user.city}",
"mobile": "${user.phonenumber}",
"sn": "${user.lastname}",
"st": "${user.state}",
"StreetAddress": "${user.customproperty15}",
"telephoneNumber": "${user.phonenumber}",
"Title": "${user.title}",
"Manager": "${managerAccount==null?'':managerAccount.customproperty1}"
}

Error:

Error while creating account in AD - [LDAP: error code 68 - 00000524: UpdErr: DSID-031A11DA, problem 6005 (ENTRY_EXISTS), data 0 ]

@kindly  help me out

2 REPLIES 2

rushikeshvartak
All-Star
All-Star

To resolve this issue, you should verify whether the account you're trying to create already exists in Active Directory. This could happen if someone else has already created an account with the same name, or if there's a synchronization issue with another system creating duplicate entries.


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

armaanzahir
Valued Contributor
Valued Contributor

@Kirti14 

 

Please check your accountnamerule param of the connection. Seems like whatever dn is being generated by the accountnamerule logic, is already present on the target. 

Configuring the Integration for Provisioning and Deprovisioning Accounts (saviyntcloud.com)

 

Regards,
Md Armaan Zahir