Freigeben über


Testing AADConnect Part 2 - Creating machines

In Part 1 we installed Hyper Role on our base(host) machine. In this post, we will see how to create a Virtual machine and  create a Domain Controller

Prerequisites :

Download Windows 2008 hard disk from the internet or download the ISO. I have downloaded the virtual hard disk itself

Open Hyper-V > Select your Server and then right click and say New > Virtual machine

b-1

Name your Virtual Machine (This is not the FQDN of the virtual machine), to identity in Hyper-V

b-2

For DC I usually give 1 GB, but you can give 2048 MB as we will be running AAD Connect from the same machine

b-3

Follow the prompt on the screen to complete the wizard

b-4b-5

Once created, double click on the VM and select File > Settings  > Hard Disk > New

b-6

Here select the master Hard disk as shown below

b-7 b-8 b-9 b-10

Now start the machine and set the password. Also, create a new Virtual network of type "External" and add this machine to that network

b-11 b-12

Once the machine starts > Go to Server Manager > Add roles > Active Directory Domain Services

b-13

Complete the wizard

b-14b-15

Restart the machine and open command prompt and type DCPROMO  to get the installation wizard

b-16

Create a new forest 

b-17

Here add in your domain name you have ownership of. Note you need internet routable domain if you want to create a hybrid Lab etc. For AAD Connect I am going to use .local domain so that we can discuss the issues we might face during AAD Connect configuration

b-18b-19b-20b-21

Bonus: I usually save all the management consoles in a single MMC and save it on the desktop. It saves me a lot of time

b-22

We are almost ready to sync, are we forgetting something? The next post in this series will have details about creating Bulk users to facilitate Directory Synchronization.

 

Praveen Kumar E

signature-picture