samAccountName attribute was used in the pre-Windows 2000 environment, and a fixed 20-character length limit. The following characters are prohibited too: “/ \ [ ] : ; | = , + * ? < >. SAM (security Account Manager)
The samAccountName attribute has the following format. For example, my zomidaily.com domain uses the NetBIOS domain name ZOMIDAILY. Thus, the j.mang username in the samAccountName format should look like this: ZOMIDAILYj.mang (NetBEUI – NetBIOS Extended User Interface)
userPrincipalName (UPN) Attribute
The value of attribute of the user j.mang for our domain would be [email protected]
When you synchronize local AD user accounts into Azure AD by using Azure AD Connect, the tool uses the userPrincipalName attribute as the Azure AD sign-in name property by default
Thus, you need to sign into the VM by using a sAMAccountName-type syntax, substituting the static string AzureAD for the domain field, like so: AzureAD\j.mang
Leave a Reply