With a prepared server to act as a domain controller, the next step is configuring DNS and Active Directory on the server to be used for the SharePoint 2019 farm we are deploying in Microsoft Azure.

This is a multi-part series.  You can see what is coming and review other posts in the series by clicking one of the following links:

Configure DNS

Because this server is going to act as our domain controller and it will be the only such server in the environment it will also be the DNS server as well.  To install and configure DNS on the domain controller perform the following steps:

  1. Open a PowerShell window as an administrator and run the following command:

  1. Next set server to point at itself for DNS information:

Configure Active Directory

Next, we need to install Active Directory.  Do this by executing the following command:

Next, we will configure our Active Directory forest.  Modify this script as you need for your own environment:

The local admin account you were logged in with will be elevated to the domain admin account.

Next, you will need to create the service accounts used for your SP2019 farm.  I’ll leave that to you as if you haven’t done this piece before there are lots of posts out there and I would just be plagiarising if I created another one.

Thanks for reading!