Active Directory Installation On Azure Virtual Machine

Prerequisites

  • Active Microsoft Azure Account

Introduction

In this article, we’ll see how to connect a Virtual Machine in Azure and install Active Directory inside that Virtual Machine.

Azure Active Directory is a fully managed multi-tenant service from Microsoft that offers identity and access capabilities for applications running in Microsoft Azure and for applications running in an on-premises environment.

Virtual Machine Creation

Click here.

Process 1 (Going inside VM)

Step 1

Go to the Virtual Machine section located on the left panel.

Select the “Virtual Machines”, which you want to connect to.

Azure

Step 2

Here, the Virtual Machine is already started and the status is “Running”.

Click “Connect”.

(This connection will initiate “Remote Desktop Session”. The protocol used behind the connection is Remote Desktop Protocol. Every Virtual machine in Azure is given with a “Public IP Address”. This IP address will be given automatically to the Virtual machine by Azure)

Azure

Step 3

Connect >> Download RDF File >> Click the downloaded file (VM.rdp).

Azure

Click the “Connect” to connect.

Azure

Give your Virtual machine’s Username and Password here.

Azure

Azure

Now, we have opened the Virtual Machine.

Once my Virtual Machine is created, I can use that Virtual Machine in the same way as I use any on-premise Virtual Machine.

Azure

Process 2 - (Remote Desktop Connection in Server Manager on the VM)

Adding Roles and Features

All the upcoming steps are simple. So, keep doing it what I have shown in the images.

Open the second one on the Dashboard.

Azure

Azure

Azure

Azure

In this step we’ll add the “Active Directory Domain Services”.

So, select it and click “Next”.

Azure

Azure

Azure

Azure

Azure

Click “Install”. This will take around 5 to 10 minutes.

Azure

So, the installation is complete.

Azure

Process 3

Now, we’ll have to perform the Post Installation configuration.

Open “Warning Sign” at in the top.

Click “Promote this server to a domain controller”.

Azure

Here, we want to create a new forest. So, click on the “Add a new forest” and give the specified name to “Root domain name”.

Azure

Give the password here that is for Directory Services Restore Mode (DSRM).

Azure

Azure

Azure

Azure

And here we also have the option of the script (View script). This is a Power shell script for AD DS Deployment.

And this is for if you want to use the GUI method in fthe uture, it’ll be helpful at that time.

Azure

This step will perform a prerequisites check. So, it’ll take some minutes.

After it is done, Click “Install”.

Azure

This’ll again take a few minutes.

Azure

Conclusion

The configuration is done. The server will restart now.

After a successful restart, the server will automatically be configured as a Domain Controller.

That’s it. 

Summary

I hope this will be helpful to you.

Thank You.