A complete SharePoint 2016 installation will require Active Directory Domain Services configured and registered with the Virtual Network.
There are two main reasons why Active Directory Configuration is recommended before SharePoint installation.
- In a standalone installation, unless Active Directory is configured we will face issues while Config DB is created by the configuration wizard.
When this happens Config DB will have to be created first using PowerShell and Configuration wizard will have to be run again.
- On top of all these Search Service will not work unless Active Directory is configured. We will be stuck with the below error.

In previous article we saw How to create a virtual network in Azure for SharePoint Installation. In this article we will see how to add a SQL server VM and Configure AD role within it.
To sum up the steps involved in this article:
To sum up the steps involved in this article:
- Create a VM with SQL Server.
- Configure Active Directory Domain Services.
- Add the VM DNS entry to the Virtual Network.
Create VM with SQL Server

Since I am creating a single server environment for User Acceptance Testing I will be having the SQL Server, Active Director Domain Controller and SharePoint installation within the same VM. For production it is recommended to have separate servers for each functionalities. In fact each Mini Role can have its own servers.

- Select the template SQL Server 2014 SP1 Standard and click in next arrow.
Specify the VM Name and select the resource size required. I am going with D3 which has 4 cores and facilitates 14 GB of RAM.


- Click on Next Arrow

- Specify the Cloud Service DNS Name and mention the Virtual Network that was created in the first article. Region can also be specified instead of Virtual Network but it is good to have a virtual network created when we have to set up a multi farm SP environment with multiple servers and host an Active Directory in a separate VM which will all have to be bounded within a Virtual Network.

- Finally select the VM agent and any configuration extensions that need to be installed .Click Finish.
This will start creation of the VM.
- As soon as the VM is created lets assign a static IP address to it. In order to do that, we have to connect to Azure using PowerShell.
Test-AzureStaticVNetIP -VNetName “SharePoint Virtual Network” -IPAddress 10.0.0.5

This will check if the IP Address 10.0.0.5 is available. As it’s not available it has also shown the available addresses above.
Let’s try to see if 10.0.08 is available.

This time the IP Address is available. Les assign the static IP address To the VM using the below commands.
Get-AzureVM -ServiceName “SP2016HOL” -Name “SharePoint2016”|Set-AzureStaticVNetIP -IPAddress 10.0.0.8 | Update-AzureVM
SP2016HOL is the cloud service name assigned while creating the VM.
SharePoint2016 is the VM Name.

The VM would be restarted automatically to update the changes. Let’s go to the VM dashboard and see the VM Settings.
The VM has been assigned an IP address and it has been reflected in the VM Dashboard as well.

Now let’s configure the AD within the VM. Log in to the server and spin up Server manager.
Configure Active Directory
























Humayun Kabir MamunPosted Sep 18, 2016, 1:01 AM
Nice...
Tarun DPosted Sep 2, 2016, 1:45 AM
Nice Share.. Thank you
kalu singh raoPosted Jul 20, 2016, 1:56 AM
Good sharing
Ankit SaxenaPosted May 11, 2016, 12:46 PM
Awesome i was looking for exactly something like this
Kuppurasu NagarajPosted May 11, 2016, 9:15 AM
Nice Sharing..
Pankaj Kumar ChoudharyPosted May 10, 2016, 10:21 AM
Nice Explain Sir........
Debasis SahaPosted May 10, 2016, 8:41 AM
Nice one..
Vignesh ManiPosted May 10, 2016, 8:33 AM
Nice one
Prasham SabadraPosted May 10, 2016, 7:44 AM
Thanks for Sharing!!!
Sonu ChaudharyPosted May 10, 2016, 7:27 AM
good one