Join a machine to your azure hosted domain controller

Published
Written by Martin Hinshelwood
2 minute read

Now that you have finished moving your Domain Controller Azure VM to a Virtual Network  ] you need to be able to join a machine to your azure hosted domain controller.

Join a machine to your azure hosted domain controller

You need to make sure that you have your machine within the correct virtual network, and move your Azure VM to a Virtual Network  if necessary. On top of that you need to have the your domains DNS server configured for your virtual network  so that the guest machine knows where to look for the domain.

Join a machine to your azure hosted domain controller

If everything is in order you should connect to the VM you want to join to the domain that you have created. On the Dashboard tab of the VM you should see a ‘connect’ button at the bottom of the screen. Clicking it will launch Remote Desktop and connect it to the server.

Join a machine to your azure hosted domain controller

Once on the server the DBS setting should be correctly configured automatically as part of the DHCP for the Virtual Network that we configured before. This should make it fairly simple to join the machine to the domain. This is no different from local domains.

Note What I really want is to be able to join these machines to AAD so that I do not have to maintain a separate set of local domain controllers for this purpose. For me it gets a little more complex as I have no physical servers, only Azure and Office 365.

Join a machine to your azure hosted domain controller

If you right-click on the start button and select “System” you will see the current machine name and domain affiliation. Most likely it will be “Workshop”. To make the change we need to click “Change Settings” to open the dialogs.

Join a machine to your azure hosted domain controller

Set the radio-button to “Domain” and enter the name of the domain that you want to join. As I setup “env.nakedalmweb.wpengine.com” that is what I need to enter. Once you click “OK” you will be asked for a domain administrator account to join the machine.

After that a simple reboot will allow you to login to the domain with any of the domain accounts that you have configured.

Connect with Martin Hinshelwood

If you've made it this far, it's worth connecting with our principal consultant and coach, Martin Hinshelwood, for a 30-minute 'ask me anything' call.

Our Happy Clients​

We partner with businesses across diverse industries, including finance, insurance, healthcare, pharmaceuticals, technology, engineering, transportation, hospitality, entertainment, legal, government, and military sectors.​