azure-docs
azure-docs copied to clipboard
Cannot join domain into windows server
I tried to join domain to windows server machine using the same user/pw account that I declared when I created the virtual machine.
But I don't understand why I still get the error that the user / PW is not correct.
I also tried entering user with format user@domain but to no avail.
Who can help me?
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: 038b3b50-317c-c0c1-cbee-c69f3f828f84
- Version Independent ID: 93810ce3-0817-c221-beb4-35de3f40d43e
- Content: Join a Windows Server VM to an Azure AD Domain Services managed domain
- Content Source: articles/active-directory-domain-services/join-windows-vm.md
- Service: active-directory
- Sub-service: domain-services
- GitHub Login: @Justinha
- Microsoft Alias: justinha
@van1989 Thanks for your feedback! We will investigate and update as appropriate.
Hi @van1989, you mentioned that you are using the same user/pw account you declared when you created the virtual machine. In that case, it sounds like you might be using the local admin account (needed to configure the core settings for the virtual machine) rather than the Azure domain credentials.
To join the domain, you need to provide admin credentials for a user that's a part of the managed domain. The account must be part of the managed domain or Azure AD tenant. You can use the UPN format such as [email protected]
or the SAMAccountName format AADDSCONTOSO\contosoadmin
.
Thanks @MarileeTurscak-MSFT for the information.
@van1989 We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.