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

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

3 REPLIES 3

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 this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

rahul_p
Regular Contributor III
Regular Contributor III

Hello @FormulaHack ,

You can try below:

"sAMAccountName": "DEV_${task.accountName}"

Regards,
Rahul
Please accept this as solution & give kudos if it resolves your issue.