Streamlining your IT with Join Windows 11 to Azure AD Integration can be a game-changer for your organization.
By integrating Windows 11 with Azure Active Directory, you can simplify device management and reduce the administrative burden on your IT team. This integration allows you to manage all your Windows 11 devices from a single location, making it easier to keep your devices up to date and secure.
With Azure AD, you can also enable single sign-on (SSO) for your users, eliminating the need for multiple passwords and reducing the risk of password-related security issues. This means your users will have a seamless experience across all their devices and applications.
Azure AD also provides advanced security features, such as multi-factor authentication and conditional access, to help protect your organization from cyber threats.
Requirements
To join Windows 11 to Azure AD, you'll need an on-prem Administrator and an Azure AD Global Administrator.
You'll also need an Intune license if you want to test your Hybrid Azure AD joined device after setup.
Configure Azure AD
To configure Azure AD, you'll first need to join your device to Azure Active Directory. Click on "Join this device to Azure Active Directory" at the bottom of the Microsoft Account window.
Type the email address of the account belonging to the domain you want to join. If necessary, take the proper steps for 2-factor authentication.
Next, open up your Azure AD Connect and navigate to the Configure device options. Select Configure Hybrid Azure AD join.
Join Azure AD
Joining Azure AD is a crucial step in the process of joining Windows 11 to Azure AD. To do this, you'll need to click "Join this device to Azure Active Directory" at the bottom of the Microsoft Account window.
The next step is to type the email address of the account belonging to the domain you want to join. This is where things get a bit more technical, but don't worry, it's straightforward.
You'll then need to complete two-factor authentication if necessary. This is a security measure to ensure that only authorized users can join devices to Azure AD.
Once you've completed these steps, your Windows 11 device will be successfully joined to Azure AD.
Verification and Configuration
To verify that your Windows 11 device is successfully joined to Azure AD, you can run the command dsregcmd /status. The output will show the VM's Azure AD join status.
If the device is hybrid joined, you'll see AzureAdJoined : YES in the output. If not, don't worry, you can try rebooting and waiting a few more minutes before checking again.
You can also check the Event Viewer logs for errors to figure out what went wrong. For example, error 0x801c03f2 means that the devices you are trying to Hybrid Join aren’t in scope of your AD Sync.
Confirm
To confirm your device is Azure AD joined, you need to check its status. Launch an elevated PowerShell prompt and type "dsregcmd /status" to display the current AAD joined status.
This will show you whether your device is successfully joined to Azure AD. Once confirmed, you can navigate to portal.azure.com to view the device status, which should show "Azure AD Joined."
Checking Our Configuration
Checking our configuration is a crucial step in verifying our device's hybrid join status. You can do this by opening the command prompt and entering dsregcmd /status.
If it says AzureAdJoined : YES, then you're halfway there. If not, don't worry, there's still hope.
If your device still says NO after rebooting and waiting 10 more minutes, try checking the Event Viewer logs for errors. Hybrid Join logs are located under Applications and Services Log > Microsoft > Windows > User Device Registration.
Error 0x801c03f2 means that the devices you're trying to Hybrid Join aren't in scope of your AD Sync. So go ahead and change the Domain/OU filtering in Azure AD connect and include them.
Next, check the Azure AD device list. Go to your Synced Azure AD and click Devices. There, you should be able to see your device as Hybrid Azure AD joined.
AAD Role Assignments for User Access
AAD Role Assignments are crucial for user access in Azure AD joined Windows 11 devices.
To enable end users to log in to an Azure virtual machine with regular user privileges, they should be part of the Virtual Machine User Login role.
Go to Resource Groups and select the resource group used for building Azure AD joined session hosts. Then, click on Access Control (IAM).
Select the Role “Virtual Machine User Login” to assign the role to end users.
Virtual desktop administrators should be part of the Virtual Machine Administrator Login role to log in to an Azure virtual machine with administrator privileges.
Custom RDP settings in the host pool “targetisaadjoined:i:1” are required to connect Remote Desktops from non-Windows end-user devices.
To set custom RDP properties, go to Host Pool - Select the Hostpool where Azure AD joined VMs are located - Click on RDP properties - Select Advanced button.
Enter targetisaadjoined:i:1 as the last custom properties and click Save.
This will enable users to access Azure virtual machines with the appropriate privileges.
Migration and Deployment
To deploy an Azure AD join host pool for Windows 11, you'll need to follow a step-by-step guide. On the Create a host pool screen, select Azure Active Directory under Domain to join.
Selecting Azure Active Directory gives you the option to enroll the VMs with Intune. If you want to enroll the VMs with Intune, select Yes.
To specify which users can access the host pool, select the Azure AD group where the login (AVD end-users) users are members of.
To streamline the process, consider the following key steps:
- Select Azure Active Directory on the Create a host pool screen.
- Choose to enroll the VMs with Intune by selecting Yes.
- Select the Azure AD group where the login (AVD end-users) users are members of.
Configure Windows Autopilot Settings for Automatic Device Conversion
To configure Windows Autopilot settings for automatic device conversion, navigate to endpoint.microsoft.com and set up your Autopilot profile to target all devices associated with your assigned Autopilot Device Group. This is where the magic happens.
With this feature enabled, all Azure AD joined devices will automatically have their hash ID imported into Intune's device repository. This is a game-changer for organizations with a large number of devices to manage.
To sync Windows devices, every device that is AAD joined and a member of your Windows Autopilot group will automatically import a Hardware Hash ID into the Windows Devices repository. This can take around 15-20 minutes for the device hardware hash ID to populate.
Here are the steps to sync Windows devices:
- Confirm the device as a member of your Autopilot group.
- Run a sync in Windows Devices.
By following these steps, you can now successfully Azure AD join a device without manually importing the hash, and you'll be able to discern the difference between AADJ & AADR.
Deploying a Host Pool
Deploying a host pool is a crucial step in setting up an Azure Virtual Desktop (AVD) environment. To do this, you'll need to create a host pool in Azure.
First, select Azure Active Directory as the domain to join on the Create a host pool screen. This will give you the option to enroll the VMs with Intune if you choose to do so.
Enrolling VMs with Intune is a good idea if you want to manage your AVD environment through Microsoft Intune. If you select Yes, you'll be able to enroll the VMs with Intune.
To specify the users who can log in to the host pool, select the Azure AD group where the login users are members of.
Frequently Asked Questions
How to join a Windows 11 PC to Azure AD?
To join a Windows 11 PC to Azure AD, go to Settings > Accounts > Access work or school and select Connect. From there, follow the prompts to join your device to Azure Active Directory.
How to check if Windows 11 is Azure AD joined?
To check if Windows 11 is Azure AD joined, open Windows PowerShell and enter the command `dsregcmd /status`. Verify that both AzureAdJoined and DomainJoined are set to YES.
Sources
- https://www.modernendpoint.com/managed/Migrating-AD-Domain-Joined-Computer-to-Azure-AD-Cloud-only-join/
- https://www.mobile-mentor.com/insights/how-to-azure-ad-join-a-device-automatically-import-the-hardware-hash-id/
- https://www.orbid365.be/hybrid-azure-ad-join-p1/
- https://blacklionm.medium.com/how-to-enroll-devices-manually-hybrid-azure-ad-joined-c820776cfc87
- https://medium.com/@riyasudeen/azure-virtual-desktop-azure-ad-aad-join-guide-33e99c659f85
Featured Images: pexels.com