A sequence is configured in object template to generate a users "name" attribute value. We create a new user together with an assignment of a Role with account creation. This fails at the stage of creating the account.
The outcome is that the user object is created with the generated name from the sequence yet the generated value is added to the "unusedValues" sequence list.
After we try to create a new user which should not experience any issues we have a conflict with the "name" value already being assigned .
The resource issue:
- The resource is an Active Directory, the issue is that the OU branch in which the user should reside is not present in the Active Directory yet.