Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/22/2024 11:24 PM
Solved! Go to Solution.
08/22/2024 11:26 PM
08/22/2024 11:37 PM
Hello @B_Samuel
Try this below config.
AccountNameRule:
{
"AccountNameRule": {
"Attributes": [
{
"cn": "ACCOUNTID",
"baseDN": "${user.customproperty46}",
"RuleCheck": "${user.lastname}, ${user.firstname}###${user.lastname}, ${user.firstname}1###${user.lastname}, ${user.firstname}2###${user.lastname}, ${user.firstname}3###${user.lastname}, ${user.firstname}4###${user.lastname}, ${user.firstname}5###${user.lastname}, ${user.firstname}6###${user.lastname}, ${user.firstname}7###${user.lastname}, ${user.firstname}8###${user.lastname}, ${user.firstname}9###${user.lastname}, ${user.firstname}10"
}
]
}
}
Create Account:
{
"objects": [
{
"objectClasses": [
"user"
],
"baseDn": "${user.customproperty46}",
"password": "${password}",
"attributes": {
"cn": "${cn?.replace(',', '\\\\,')?.replace('/','\\/')}",
Here we are replacing ',' from ANR to '\,' // This works fine for us in ADSI.
Pass all the values needed below as needed
}
],
"requestConfiguration": {
"memExistanceRetSuccess": {
"enable": true
}
}
}
b
08/23/2024 06:23 AM
@stalluri
Do we need the below config in CreateAccount?
"requestConfiguration": { "memExistanceRetSuccess": { "enable": true } }
08/23/2024 07:26 AM
This was introduced in the new version. Adding this will not hurt the configuration.
If you upgrade the environment, it will be handled automatically.
Example 3: From Release v24.4 onwards, to create an account using the requestConfiguration configuration, use a format similar to the following:
The requestConfiguration configuration is introduced to return success or failure response for an existing account.
When you specify the enable value as true under the requestConfiguration configuration, the connector returns the success response if account already exists.
If the requestConfiguration configuration is not included in the CREATEACCOUNTJSON parameter or if you specify the enable value as false, the connector returns the failure response with the message account already exists.
08/22/2024 11:28 PM
Hi @B_Samuel is user customproperty 46 updated the base DN value?
08/23/2024 06:22 AM
@NM
Yes, and we can see the log with the value as well. I also attached it above.