This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

samaccountname 20 char limit

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?

Parents Reply
  • I think that your way of creating user object isn't the best. Imagine you 2 Jane Doe. How do you prevent this? Will it be jane.doe1 and jane.doe2 or jane1.doe and jane2.doe? With your kind of mechanism it is not possible to create unique samaccountnames and userprinicipalnames

Children
No Data