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

AD-Account Name Prefix

FormulaHack
New Contributor III
New Contributor III

Hello !

I'm trying to create an AD account where the "cn, samaccountname, userprincipalname, displayname, mail" all start with the prefix "dev_". 

I've tried to add dev_$ to the

CREATEACCOUNTJSON:

{"cn": "${task.accountName}",
"co": "${user.country}",
"department": "${user.departmentname}",
"displayname": "{user.displayname}",
"givenName": "dev_${user.firstname}",
"l": "${user.city}",
"name":"{cn}",
"objectClass": ["top", "person", "organizationalPerson", "user"],
"pwdLastSet": "0",
"sAMAccountName": "${task.accountName}",
"sn": "{user.lastname}"
}

But nothing happens !

Anyone have an idea on how to modify this please?

Thanks

2 REPLIES 2

adarshk
Saviynt Employee
Saviynt Employee

Try: concat('dev_',user.firstname)

Also check the logs on what is failing during provisioning. 

rushikeshvartak
All-Star
All-Star

Instead of json update account name rule in endpoint 


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