Leveraging Intelligent Recommendations for Operational Transformation. AMS Partners Click HERE | EMEA/APJ Click HERE |
05/24/2024 10:09 PM
Hi we need to create 5 types of accounts so we created a dynamic attribute in endpoint which will shows the drop down of 5 types of accounts (single select) we need to append the value that the user selected in the dynamic attribute to Account Name.
Is it possible to achieve this?
else any other solution to get the account name as Account Type + Username.
Solved! Go to Solution.
05/24/2024 10:14 PM
Hi @Mahendran ,which connector are you using?
05/24/2024 10:20 PM
It is Privileged AD application we are using AD connection
05/24/2024 10:26 PM
You can in account name rule of connection concat dynamic attribute with username and at the time of user submission just keep username as account name .. once you provision the account it will be updated automatically..
05/24/2024 10:30 PM
How to concat the dynamic attributes using Advance config in Account Name rule?
if yes can you send me an example or syntax.
05/24/2024 10:32 PM
@Mahendran , can't do it in account name rule .. but in connection you will find a json with accountname rule this is where you will define accountname rule.
Do something like this
CN=${concat(dynamic attribute name,user.username)},OU values..
05/25/2024 12:52 AM
@Mahendran , did it work?
05/27/2024 03:55 AM
sorry for the late reply,
I added this in AccountName Rule in AD connection,
CN=${concat(concat(Account_Type,'-'), user.systemUserName)},
We got this error while provisioning the task,
LDAP: error code 34 - 0000208F: NameErr: DSID-03100233, problem 2006 (BAD_NAME), data 8349, best match of: 'CN=${concat(concat(Account_Type,'-'), user.systemUserName)}
05/26/2024 09:07 AM
05/27/2024 03:59 AM
We have a Privilege Ad Connection, Security system and endpoint similar to Normal AD ,
we need to add the type of account followed by '-' and userid as a accountname.
what can be do for this
we tried of adding rule in AccountName rule in Connection level but it is throwing error We got this error while provisioning the task,
LDAP: error code 34 - 0000208F: NameErr: DSID-03100233, problem 2006 (BAD_NAME), data 8349, best match of: 'CN=${concat(concat(Account_Type,'-'), user.systemUserName)}
05/27/2024 09:29 AM
Did you tried suggest approach in previous response?
05/28/2024 03:08 AM
Hi @Mahendran , where are you taking this accounttype variable from? or is it a hardcoded value?
05/28/2024 05:19 AM
Hi,
I'm able to acheive the requirement by adding the AccountName rule in Connection in below manner.
CN=${accountType}-${user.systemUserName},OU..
This is working fine thanks @NM
05/28/2024 06:49 AM
In this case actual account name and account created will be different and it will be issue in reconciliation
05/29/2024 01:44 AM
No we are using object GUID of the account to reconcile so that it won't cause any issues for us in reconciliation we already tried and its working