Cannot add new Azure VM to our Domain as DC

Alexander Spak 1 Reputation point

Trying to get rid of our on prem Win Server. We have a Azure VM running Win Server 2019. When trying to add the VM to the domain I get the error saying that "Encountered an error contacting domain DOMAINNAME. The server is not operational"
Not sure what the issue is.
Our on prem is a mess right now as too many IT guys have poked around in there.

Any help would be appreciated. Thank you.

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,708 questions
Azure Active Directory Domain Services
{count} votes

2 answers

Sort by: Most helpful
  1. cthivierge 3,981 Reputation points

    Do you try just to join the vm to the domain or you try to add the vm as a Domain Controller when the vm is in a workgroup?

    0 comments No comments

  2. VipulSparsh-MSFT 16,011 Reputation points

    @Alexander Spak As asked by cthivierge, we would need more information on this. You can have a look at this article as well with this particular error you are facing :

    Also a good article to setup a domain controller in Azure VM :
    Let us know if you still are facing the issue after following above 2 articles.


    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

    0 comments No comments