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

Error while trying to create account in AD

Prajna
New Contributor
New Contributor

Hi Team,

We are receiving error while trying to create an account in AD. The account name rule format used is mentioned below. Please find the logs and the error screenshot mentioned below.

CN=${task.accountName},OU=Roden Cutler House,OU=Org,DC=energytest,DC=energyautest,DC=com,DC=au

Create Account Json:

{
"streetAddress": "${user.street}",
"l": "${user.city}",
"co": "${user.country}",
"c":"${user.customproperty17}",
"title": "${user.title}",
"employeeID": "${user.username}",
"pager": "${user.customproperty18}",
"physicalDeliveryOfficeName":"${user.locationdesc}",
"personalTitle":"${user.customproperty2}",
"postalCode":"${user.regioncode}",
"manager": "${if(managerAccount!=null){if(managerAccount.customproperty3!=null){managerAccount.customproperty3}}else{''}}",
"pwdLastSet": "0",
"department": "${user.departmentname}",
"st": "${user.state}",
"telephoneNumber": "${user.phonenumber}",
"mail": "${user.email}",
"givenName": "${user.firstname}",
"employeeType":"${user.customproperty6}",
"sn": "${user.lastname}",
"employeeNumber": "${user.customproperty4}",
"division":"${user.customproperty12}",
"sAMAccountName": "${user.employeeid}",
"mobile": "${user.customproperty19}",
"userPrincipalName": "${user.employeeid + "@energytest.energyautest.com.au"}",
"displayName": "${user.lastname.toUpperCase()+", "+user.firstname.substring(0, 1).toUpperCase()+user.firstname.substring(1)}",
"cn": "${user.firstname+" "+user.lastname}",
"userAccountControl":"66112",
"homeDirectory": "${'\\\\energytest.energyautest.com.au\\homedrive\\' + user.employeeid}",
"objectClass": ["top", "person", "organizationalPerson", "user"]
}

1 REPLY 1

pmahalle
All-Star
All-Star

@Prajna Logs and screenshots are missing. 


Pandharinath Mahalle(Paddy)
If this reply helps your question, please consider selecting Accept As Solution and hit Kudos 🙂