Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Azure icon

Install Azure AD Connect

Bridging on-premises Directory Services and Azure Active Directory is one of the more common tasks an Azure Engineer is likely to be faced with in this hybrid cloud-centric age. In this hands-on lab, the student will deploy an Azure Virtual Machine and install directory services to it. Then the student will install the Azure Active Directory Connect software, attaching it to the local domain in preparation for a future connection to Azure AD.

Azure icon

Path Info

Clock icon Beginner
Clock icon 45m
Clock icon Feb 25, 2022

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Create and Deploy a Virtual Machine

    Use 'West US' when asked location and asked for a resource group.

    Deploy a VM:

    1. The VM name can be anything (MythicalDC001 in this example).
    2. The VM should be imaged with Windows Server 2019.
    3. The VM Size should be B2ms.
    4. UThe sername/Password can be anything (mythicaladmin and Crystal1Montana! in this example).
    5. Change Public Inbound Ports to None.
    6. Set NIC NSG to Advanced.
    7. Set Boot Diagnostics to Off.
  2. Challenge

    Ensure Port 3389 Is Open, Connect RDP to Server, and Install the ADDS Role

    Install Active Directory Domain Services:

    1. Copy the Public IP from the VM Overview.
    2. Create the inbound exception in NSG for Port 3389.
    3. Connect via RDP to the Public IP.  We recommend using the latest official RDP client.  Make sure you choose to Connect to an admin session.
    4. Disable IE Enhanced Security Configuration.
    5. Right-click the server name and install ADDS Role.
  3. Challenge

    Promote Server to Domain Controller, and Download and Install Azure AD Connect

    Note: Being unable to complete the install of AD Connect is to be expected.

    Promote to DC and Install AD Connect:

    1. Click the promote link after ADDS role installs.
    2. Create a new Forest. It can be named anything (mythical.domain, in this example).
    3. DSRM password can be anything (Crystal1Montana!, in this example).
    4. After the server reboots, reconnect via RDP.
    5. Download Azure AD Connect software via Internet Explorer.
    6. Install Azure AD Connect software.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans