Click HERE to see how Saviynt Intelligence is transforming the industry. |
06/17/2024 06:13 AM
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
06/18/2024 06:15 AM
Try: concat('dev_',user.firstname)
Also check the logs on what is failing during provisioning.
06/18/2024 11:55 AM
Instead of json update account name rule in endpoint
08/07/2024 08:28 AM - edited 08/07/2024 08:28 AM
Hello @FormulaHack ,
You can try below:
"sAMAccountName": "DEV_${task.accountName}"
Regards,
Rahul
Please accept this as solution & give kudos if it resolves your issue.