Hello everyone
I have a problem with the username generator. I am using the following transformation to set the value of AD userPrincipalName:
{
"attributes": {
"cloudMaxSize": "100",
"cloudMaxUniqueChecks": "25",
"cloudRequired": "true"
},
"isRequired": false,
"multi": false,
"name": "userPrincipalName",
"transform": {
"type": "usernameGenerator",
"attributes": {
"sourceCheck": true,
"patterns": ["$fi$ln${uniqueCounter}"],
"ln": {
"type": "identityAttribute",
"attributes": {
"name": "lastname"
}
},
"fi": {
"type": "substring",
"attributes": {
"input": {
"type": "identityAttribute",
"attributes": {
"name": "firstname"
}
},
"begin": 0,
"end": 1
}
}
}
},
"type": ""
}
However, I am getting the error:
Stopped processing username creation for pattern: $fi$ln${uniqueCounter} because maximum attempts reached: 25
Why is it not working?