Can we create a domain controller on an Azure Virtual Machine?

LucasBudas-9886 301 Reputation points
2024-03-30T13:17:39.85+00:00

Is it possible to promote a domain controller on an Azure Virtual Machine? We have several Azure virtual machines and wish to join them to a domain.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,018 questions
Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Entra | Other
0 comments No comments
{count} votes

Accepted answer
  1. Thameur-BOURBITA 36,261 Reputation points Moderator
    2024-03-30T13:30:28.5066667+00:00

    Hi @LucasBudas-9886

    If you want create new domain, yes it's possible. You can also use Entra Domain Services managed domain for virtual machine in Azure to avoid creating new domain.

    If you want promote a new domain controller in a existing domain , you should configure VPN between Azure and on-premise network to ensure AD replication.

    Please take a look at this article if you have a existing domain:

    Tutorial: Create a site-to-site VPN connection in the Azure portal


    Please don't forget to accept helpful answer which helps users to know the answer solved the author's problem.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Andreas Baumgarten 123.4K Reputation points MVP Volunteer Moderator
    2024-03-30T13:24:44+00:00

    Hi @Lucas Budas ,

    yes this is possible.

    A step-by-step description you will find here: How to Deploy a Domain Controller in Azure

    I would recommend to add a small data disk (4 GB) with disabled host cache to store the NTDS folder.

    This can be done during the creation wizard of the Azure VM or later before installation of the AD service.


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards

    Andreas Baumgarten

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.