Install Active Directory in Windows Azure in four simple steps


There is a very long and complex way to install Active Directory in Windows Azure environment described in details in Windows Azure documentation here, what I will propose in this post is a simple way to install Active Directory in a new Windows Azure without the need to go through all steps listed in Microsoft Windows Azure documentations that include creation of the virtual machine for Domain Controller using PowerShell.

Install Steps:

Installation steps are simple as follows:

1. Create a storage account that is in the same region as the affinity group, more details about how to create a storage in Windows Azure can be found here

2. Create a new Network associated with the storage account created in step-1, create a Network subnet (for example, and select DNS to be same Network VLAN IP Address end with β€œ.4” (follow the same example, more details about how to create a virtual network in Windows Azure can be found here

3. Create the first virtual machine and associate it with the storage account and network created in steps-1 & step-2, this virtual machine automatically will take IP Address from network VLAN end with β€œ.4” (follow the same example, more details about how to create a virtual machine in Windows Azure can be found here

4. Install Active Directory (Including DNS Service) on the first created virtual machine in step-3.

Now your Windows Azure environment is ready with Active Directory and all new virtual machines that will be created later will automatically point to the IP Address of the Active Directory Domain Controller IP Address as their primary DNS server in network cards.


As a conclusion, you have the long professional way to install Active Directory, and in this post, you get how to install Active Directory in your new Windows Azure environment with simple way and very fast.

Hope that this will accelerate building your new Windows Azure environment in less than an hour.

Comments (7)

  1. Maged Ezzat says:

    no Arnau, reboot will keep the same IP, we always assign static IP Address for AD DCs, this is how to do so

  2. Nicole says:

    Thanks, you helpt me alot with this tutorial πŸ™‚

  3. Chad says:

    Hi can you please contact me thrugh email i am going to be setting up active directory on a vm and i need the domain controller to have a static ip and also i am going to create a vm to host microsoft exchange as well can you help me setup the static ip
    so we can make sure there 2 servers are talking properly i have read all the info and i am confused your help will be needed thank you

  4. Simon says:

    I need to configure DNS ans DHCP too and if someone know how to do this in an Azure infra, I need that, thanks

  5. Arnau says:

    This will not work. With evert reboot, the network card will be new and will loose every configuration you made.

  6. showbox says:

    Thanks for the great info. I really loved this. I would like to apprentice at the same time as you amend your web site, how could i subscribe for a blog site?
    For more info on showbox please refer below sites:
    Latest version of Showbox App download for all android smart phones and tablets. – It’s just 2 MB file you can easily get it on your android device without much trouble. Showbox app was well designed application for android to watch movies and TV shows, Cartoons and many more such things on your smartphone.
    For showbox on iOS (iPhone/iPad), please read below articles:
    Showbox for PC articles:
    There are countless for PC clients as it is essentially easy to understand, simple to introduce, gives continuous administration, effectively reasonable. it is accessible at completely free of expense i.e., there will be no establishment charges and after establishment
    it doesn’t charge cash for watching films and recordings. Not simply watching, it likewise offers alternative to download recordings and motion pictures. The accompanying are the strides that are to be taken after to introduce Showbox application on Android.
    The above all else thing to be done is, go to the Security Settings on your Android telephone, Scroll down and tap on ‘Obscure sources’.

Skip to main content