I am having difficulty joining an Azure Windows Server 2016 VM to an “Azure AD Domain Services” domain. I think the problem may be that I am not getting my credentials entered correctly when I get prompted for the name and password of an account with permission to join the domain. I have referenced the following document to assist: https://docs.microsoft.com/en-us/azure/active-directory-domain-services/active-directory-ds-admin-guide-join-windows-vm-portal
Per this note in the document I have tried both the UPN and SAM account name format but I always get “the user name or password is incorrect”:
Tip - We recommend using the UPN format to specify credentials. If a user's UPN prefix is overly long (for example, joehasareallylongname), the SAMAccountName might be auto-generated. If multiple users have the same UPN prefix (for example, bob) in your
Azure AD tenant, their SAMAccountName format might be auto-generated by the service. In these cases, the UPN format can be used reliably to log on to the domain.
Domain name is like: thisnamexxxxxx.onmicrosoft.com (14 characters prefix the “.onmicrosoft.com”)
User name is like: myname@whatever.com
When the credential dialog box comes up I have tried all of the following:
-
Domain listed in box: thisnamexxxxxx.onmicrosoft.com username: myname
-
Domain listed in box: thisnamexxxxxx.onmicrosoft.com username: myname@whatever.com
-
No domain listed in box, UPN format: myname@thisnamexxxxxx.onmicrosoft.com
- No domain listed in box, UPN format: myname@whatever.com@thisnamexxxxxx.onmicrosoft.com
- No domain listed in box, SAM format: thisnamexxxxxx.onmicrosoft.com\myname
- No domain listed in box, SAM format: thisnamexxxxxx.onmicrosoft.com\myname@whatever.com
None of these work.... They all get a NetJoin 1326 error (the user name or password is incorrect)
- thisnamexxxxxx.onmicrosoft.com is listed as my default directory
- I have enabled password synchronization as these accounts are Azure AD only accounts.
- I am using an account that is in the AAD DC Administrators group
- I have verified and re-verified I am using the correct password....
- I have searched and read many answers to this question but can’t seem to find the needed solution
Any help would be greatly appreciated. Thanks.