This project demonstrates how to prepare the proper infrastructure to successfully deploy and configure an Active Directory environment using Microsoft Azure.
The setup includes:
- A Domain Controller (Windows Server 2022)
- A Client Machine (Windows 10)
- Proper network, DNS, and connectivity settings to enable AD Infrastructure functionality
- Microsoft Azure (Resource Groups, Virtual Networks, Virtual Machines)
- Windows Server 2022
- Windows 10 (21H2)
- Active Directory Domain Services (AD DS)
- PowerShell & Remote Desktop
- Log into the Azure Portal.
- Create a Resource Group:
- Search for Resource Groups β Click Create β Enter name (e.g.,
Active-Directory-Lab).
- Search for Resource Groups β Click Create β Enter name (e.g.,
- Create a Virtual Network (VNet):
- Search for Virtual Networks β Click Create β Choose the
Active-Directory-Labresource group. - Name it
Active-Directory-VNet. - The Subnet could be left at the default setting.
- Search for Virtual Networks β Click Create β Choose the
- Create a Virtual Machine:
- Configure Dc-1 Private IP Address From Dynamic To Static Private IP:
- Go to
DC-1β Networking β NIC settings β Change IP from Dynamic to Static.
- Go to
-
Connect to
DC-1VM with Remote Desktop. -
Inside the
DC-1VM: You should be brought to aServer Manager Dashbroad(That'll confirm you have successfully setup your DC-1 Server correctly) -
Now, Open Windows Defender Firewall from Start menu
- Within Windows Defender Firewall Properties ensure that Firewall state for:
- Domain Profile
- Private Profile
- Public Profile
are ALL set to Off (temporarily to simplify connectivity testing)
- Within Windows Defender Firewall Properties ensure that Firewall state for:
- Create a Virtual Machine:
- Virtual Machine Name:
Client-1 - Resource Group:
Active-Directory-Lab - Virtual Network:
Active-Directory-VNet - Region:
(Same Region as Resource Group & VNet) - Image:
Windows (Windows 10 Pro) - Size:
Standard D2s v3 (2 vcpus, 8 GiB memory) - Username:
labuser - Password:
*********
- Virtual Machine Name:
- Update DNS settings:
- Go to
Client-1β Networking β DNS Servers β Set to Custom DNS β PutDC-1βs private IP (10.0.0.4for the sake of this project) - Save and Restart the
Client-1VM within Azure
- Go to
- Then connect and log into
Client-1VM with Remote Desktop
Note: It'll bring you to a Windows OS Home Screen (Not a Server Manager Dashbroad) once logged in = Successful Windows 10 deployment
-
On
Client-1, open Powershell:-
Run
PingDC-1 Private IP(10.0.0.4) -
Confirm replies are received.
-
-
On
Client-1, open PowerShell:- Run ipconfig /all
- Verify the DNS Server is set to
DC-1βs Private IP
By completing this project, I:
- Prepared a fully functional Active Directory Infrastructure using Azure
- Configured static IP addressing and custom DNS settings.
- Validated communication between a Domain Controller and client machine.
- Strengthen skills in networking, VM management, and directory services.













