azure-docs icon indicating copy to clipboard operation
azure-docs copied to clipboard

Cannot join domain into windows server

Open van1989 opened this issue 2 years ago • 1 comments

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? 2022-11-11_111107


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

van1989 avatar Nov 11 '22 04:11 van1989

@van1989 Thanks for your feedback! We will investigate and update as appropriate.

SaibabaBalapur-MSFT avatar Nov 11 '22 08:11 SaibabaBalapur-MSFT

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.

MarileeTurscak-MSFT avatar Nov 18 '22 22:11 MarileeTurscak-MSFT

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.

YashikaTyagii avatar Nov 22 '22 05:11 YashikaTyagii