Hello Community,
i have the following problem and i would be happy if you could help me.
Usually when we create AD Users we use firstname and lastname and create firstname.lastname as samaccountname and userprincipalname.
Sometimes we reach the 20 character limit with samaccountname and that leads to different problems in other systems.
I want to find a way to prevent the creation of such users.
Example 1: (OK)
Firstname: John
Lastname: Doe
samaccountname: john.doe
userprincipalname: john.doe
Example 2: (Not OK)
Firstname: Bartolomeo
Lastname: Hammerschmidt
samaccountname: bartolomeo.hammersch
userprincipalname: bartolomeo.hammerschmidt
My question is: How can i configure ARM that in case of Example 2 the samaccountname and the userprincipalname will be b.hammerschmidt ?
Or is there a better solution?