Set Up Hybrid Azure AD: A Step-by-Step Guide

Published:16 January 2020 - 4 min. read

Azure Cloud Labs: these FREE, on‑demand Azure Cloud Labs will get you into a real‑world environment and account, walking you through step‑by‑step how to best protect, secure, and recover Azure data.

If you use on-prem Active Directory (AD) features and would also like to use Azure AD features like  conditional access, single sign-on (SSO) and more, this article is for you. In this article, you’re going to learn how to set up a mode Microsoft calls Hybrid Azure AD Join.

What is Hybrid Azure AD Joined?

In a nutshell, Hybrid Azure AD Join is a mode that allows you to manage  devices both via traditional on-premises AD tools but also register it with Azure AD. For more information, check out the Hybrid Azure AD Joined devices Microsoft doc.

Prerequisites

There are many requirements and prerequisites you must meet before you can begin to configure hybrid Azure AD joined devices. Before you begin with the steps outlined in this article, be sure you meet or have the the following:

All examples in this article will be using an on-prem AD domain called adamtheautomator.com with a synced Azure AD of the same name.

For a full list of prerequisites, refer to the Plan hybrid Azure Active Directory join implementation Microsoft doc.

Configuring Azure AD Connect

The first step to setting up hybrid Azure AD joined devices is to configure Azure AD Connect. Here you will set up the Azure AD sync process to be aware of the hybrid mode you intend.

To set things up, first open up Azure AD connect and click on Configure.

Azure AD Connect Welcome box
Azure AD Connect Welcome box

On the next screen, click on Configure device options and click on Next.

Configure device option task
Configure device option task

Provide your Azure AD tenant’s global administrator credentials and click Next.

Adding username to connect to Azure AD
Adding username to connect to Azure AD

Click on Configure Hybrid Azure AD join and Next.

Configuring hybrid Azure AD join
Configuring hybrid Azure AD join

On the Device Operating systems page is where you will select what types of devices you intend to onboard. For this article, we’re only going to be onboarding current devices (Windows 10). Choose Windows 10 or later domain-joined devices and click Next.

Checking Windows 10 or later domain-joined devices option
Checking Windows 10 or later domain-joined devices option

For information on how to configure Windows down level devices (Windows 8.1+ and Windows Server 2008 R2+), refer to the Configure hybrid Azure Active Directory join for managed domains Microsoft doc.

You’ll now create the service connection point (SCP) in Azure to allow your devices to to read Azure AD tenant information. Check your forest name under Forest, choose Azure Active Directory as the Authentication Service and then click Add to provide credentials for your on-prem enterprise admin account. When complete, click Next.

SCP configuration task
SCP configuration task

On the next screen, click on Configure to start the process. Everything should only take a few seconds.

Ready to configure menu
Ready to configure menu

When complete, you will be told to configure some additional steps. Click Exit when complete.

Configuration complete indicator
Configuration complete indicator

Confirming Azure AD Join Status

Once you’ve configured Azure AD Connect, you should now check to ensure the fruits of your labor actually paid off! Luckily, all Windows 10 devices should be hybrid AD-joined automatically eventually but for the first device, you should confirm this.

Checking Client-Side

To confirm Windows 10 device registration, reboot one of them. After it comes back up, connect to it either remotely or on the console and get to a command prompt. In the command prompt, type dsregcmd /status. If you see AzureADJoined: YES under Device State, you’re in good shape.

Successful hybrid Azure AD joined device
Successful hybrid Azure AD joined device

If the device doesn’t show as Azure AD-joined yet might be because the computer object hasn’t been synced to Azure AD yet. You can try to force a registration by running dsregcmd /join and looking at the status again.

If you still don’t see the device has been Azure AD-joined, you may want to check out this troubleshooting guide. You may also download this PowerShell script to run on the device to perform many common tests.

Checking Azure-Side

Once you’ve confirmed the Windows 10 client says its joined, be sure to check on the Azure side too. To do that, navigate to the the Devices blade in your Azure AD tenant. Here you should see the JOIN TYPE is Hybrid Azure AD Joined and REGISTERED has a recent timestamp for the Windows 10 device.

Successful hybrid Azure AD joined device
Successful hybrid Azure AD joined device

If you see devices show up as ‘Registered’ and ‘Hybrid Azure AD joined’, you may find that AAD Conditional Access (CA) rules will not function correctly with the ‘Registered’ entries. To fix this, upgrade all devices to Windows 10 1903. You might also have to remove all ‘Registered’ entries with a script.

Once you confirm your test Windows 10 machine has been registered and joined as hybrid Azure AD joined, all other current devices in AD should begin registering as well automatically.

If a user is logged onto the joined client, they will have to log off and on to get a primary refresh token.

Summary

Once configured, devices joined in a hybrid Azure AD join model will automatically register themselves. After you perform all of the needed steps in this article, most of the hard work is done for you. At this point, you can begin using the various services Azure AD has to offer to manage all of your domain-joined devices.

Hate ads? Want to support the writer? Get many of our tutorials packaged as an ATA Guidebook.

Explore ATA Guidebooks

Looks like you're offline!