Hello All,
We are trying to create a temp password for AD on a the create policy but i keep getting some formatting errors with too many commas or not enough. can someone take a look and help us out? The password gets the first name letter, last name and todays start date and puts it in as the password of AD.
I am open to easier ways, I cannot use power shell at this time so thus this logic
{
"name": "password",
"transform": {
"type": "usernameGenerator",
"attributes": {
"patterns": [
"$combined"
],
"combined": {
"type": "substring",
"attributes": {
"begin": 0,
"end": 9,
"input": {
"type": "static",
"attributes": {
"value": "$fi$ln$dd",
"ln": {
"type": "identityAttribute",
"attributes": {
"name": "lastname"
}
},
"fi": {
"type": "substring",
"attributes": {
"input": {
"type": "identityAttribute",
"attributes": {
"name": "firstname"
}
},
"begin": 0,
"end": 1
}
},
"dd": {
"type": "dateFormat",
"attributes": {
"input": {
"type": "identityAttribute",
"attributes": {
"name": "startDate"
}
},
"inputFormat": "mm-dd-yyyy",
"outputFormat": "MMddyyyy"
}
}
}
}
}
}
},
"attributes": {},
"isRequired": false,
"type": "string",
"isMultiValued": false
},