Why does my Entra Domain Services user have a 'strange' User SamAccountName

Greg Bonk 41 Reputation points

I created a user in my Azure Entra ID tenant, which then was synchronized to our Entra Domain Services.

User's image

I would like to know why this user's User SamAccountName is different from what I would expect ?

User's image

Microsoft Entra
0 comments No comments
{count} votes

Accepted answer
  1. Marilee Turscak-MSFT 36,336 Reputation points Microsoft Employee

    Hi @Greg Bonk ,

    This value is generated by Active Directory automatically if the SamAccountName is not specified on creation. For example, if you used a PowerShell script to create the users, Active Directory generates the SamAccountName.

    You can change it to any unique value you need. To avoid such situations, you can specify the required value upon creation. Note that Active Directory does not allow you to have more than one user with the same full name within a domain.

    If the information helped you, please Accept the answer. This will help us as well as others in the community who may be researching similar questions. Otherwise let me know if you have further questions.

    0 comments No comments

0 additional answers

Sort by: Most helpful