How to Join Windows 11 to Azure Active Directory

Photo of author

By Victor Ashiedu

Published

Does your company have Azure Active Directory and you’re wondering how to join a Windows 11 PC to Azure AD? This guide shows you two methods to perform the task.

Option 1: Join Azure AD from Windows Settings

How To Join Windows 11 To Azure Active Directory From Windows Settings

Not a SysAdmin or just prefer working with GUI? Then, follow the steps below to add a Windows 11 PC to Azure AD.

  1. Right-click the Windows 11 Start menu. Then, select Settings.
How To Join Windows 11 To Azure Active Directory From Windows Settings
  1. When Windows Settings opens, on the left pane click Accounts.
  1. Then, on the details pane of the Accounts Settings screen, scroll down and click Access work or school.
How To Join Windows 11 To Azure Active Directory From Windows Settings
  1. When the Access work or school settings screen opens, on the top right, click Connect. A popup window will open.
  1. Then, towards the bottom of the popup, beneath Alternative actions:, click Join this device to Azure Active Directory.
How To Join Windows 11 To Azure Active Directory From Windows Settings
  1. To start the process of joining the Windows 11 PC to Azure Active Directory, enter the email address of your Azure AD login. Then, click Next.

    Then, in the password screen enter the Azure AD’s account password and click Sign in – see the second screenshot below.
How To Join Windows 11 To Azure Active Directory From Windows Settings
  1. Finally, to join the Windows 11 PC to Azure Active Directory, confirm that you’re joining the PC to right Azure AD. Then, click Join. The process may take a while – wait.
If you receive a DeviceCapReached error (see the third screenshot below) message, follow the steps in this guide – Received “Device Cap Reached” Office 365 Error? Here Is The Fix – to remove some devices from your Azure AD account.

Then, repeat the steps above to try joining the Windows 11 PC to Azure AD.
  1. Once the Windows 11 PC is joined to your Azure AD tenant, you’ll receive a confirmation message similar to the one below. Click Done.
  1. When you’re ready to sign in to your Windows 11 PC with the Azure AD account, press Ctrl + Alt + Del. Then, select Switch user.
  2. When the sign-in screen opens, click Other user. Then, enter your Azure or Office 365 email and password.

Option 2: Join Azure AD with PowerShell

How To Join Windows 11 To Azure Active Directory With PowerShell

In the last section, I showed you how to join your Windows 11 PC to Azure AD from Windows Settings. This section shows you how to perform the same task with PowerShell…

  1. Open Windows 11 search and enter Windows PowerShell. Then, from the search result, Windows PowerShell will be selected.

    On the details pane, click Run as Administrator. You will receive a User Account Contol request, click Yes.
How To Join Windows 11 To Azure Active Directory With PowerShell
  1. When Windows PowerShell opens, install the AzureAD PowerShell module by running the command below…
Install-Module AzureAD
  1. When you type the above command and press enter, after a while, PowerShell will ask you to confirm that you want to install the module. Type Yes and press enter.

    If you receive any further confirmation, type A and press enter. The installation may take a while.

    When the installation is completed, proceeded to step 4.
How To Join Windows 11 To Azure Active Directory With PowerShell
  1. Connect to your Azure AD tenant by running the command below. You’ll be prompted to enter credentials.
Connect-AzureAD
  1. Then, when the credential request popup opens, enter your Azure AD or Microsoft 365 login email. Then, click Next.
How To Join Windows 11 To Azure Active Directory With PowerShell
  1. Enter the password to the account you entered in step 5. Then, click Sign in. If your user name and password are successfully authenticated, you will be signed in to your Azure AD tenant.
To confirm that you were successfully signed in to Azure AD, confirm that you see information similar to the ones highlighted in the second screenshot below…
  1. Finally, to join your Windows 11 PC to Azure Active Directory with PowerShell, run the command below:
New-AzureADDevice -AccountEnabled $true -DisplayName "My new device" -AlternativeSecurityIds $altsecid -DeviceId $guid -DeviceOSType "OS/2" -DeviceOSVersion "9.3"
Althought the above command is accurate and should work, I have not been able to get it to work. I have spent hours trying to figure out how to generate two required parameters – AlternativeSecurityIds and DeviceId.

Unfortunately, there is no information about this in Microsoft’s own New-AzureADDevice cmdlet documentation. While I’ll continue to work top figure this out, if you have a solution, kindly email me on [email protected]. Alternatively, you can leave a comment at the end of this page.

Frequently Asked Questions

1. How do I join a computer to the Azure Active Directory domain?

You can join a computer to the Azure Active Directory domain from Windows Settings => Accounts => Access work or school => Access work or school.

Alternatively, you can use PowerShell to join a Windows 10 or 11 computer to an Azure AD domain. To use PowerShell run the New-AzureADDevice command.

2. How do I connect my local domain to my Azure AD?

To connect your local domain to your Azure AD:

a) Login to a Windows Server that is joined to your local AD
b) Download Microsoft Azure Active Directory Connect. Then install the Azure AD connect
c) Finally, open Azure AD connect and follow the wizard to connect your local AD to your Azure Active Directory.

3. How do I access Azure Active Directory?

To access Azure Active Directory open the Azure AD portal – aad.portal.azure.com. Then, login with either your Microsoft 365 or Azure AD account

4. What is the difference between Azure Active Directory and Windows Active Directory?

The main difference between Azure Active Directory and Windows (on-premise) Active Directory is that Azure AD is hosted on Microsoft’s cloud while your on-premise AD is installed on a server with your company network.

5. Does Office 365 include Azure Active Directory?

Yes. Office 365 (now called Microsoft 365) includes Azure Active Directory. You may not know this but Azue AD is the directory service that powers Office 365.

When you create a user in Office 365, you’re in essence creating a user in Azure AD.

To login to Azure AD portal from your Microsoft 365 portal, scroll down the left pane to the Admin centers section. Then, Azure Active Directory – the link will open in a new browser tab.

Conclusion

Whether your company has a hybrid On-premise-Azure-AD arrangement or just cloud-only Azure AD, you can join a Windows 11 PC to Azure AD.

If you manage a hybrid environment and have connected your on-prem AD to Azure AD, the two environments will sync. However, if you manage a cloud-only Azure AD, you can use one of the two methods I discussed in this guide to join Windows 11 to Azure AD.

I hope you were able to use this guide to join your Windows 11 PC to Azure AD. If you found the guide helpful, click on “Yes” beside the “Was this page helpful” question below.

You may also express your thoughts and opinions by using the “Leave a Comment” form at the bottom of this page.

Finally, you can read more guides to help you solve Windows 11 problems by visiting our Windows 11 How-To guides page.

About the Author

Photo of author

Victor Ashiedu

Victor is the founder of InfoPress Media, publishers of Ilifeguides and Itechguides. With 20+ years of experience in IT infrastructure, his expertise spans Windows, Linux, and DevOps. Explore his contributions on Itechguides.com for insightful how-to guides and product reviews.

Related Articles

Get in Touch

We're committed to writing accurate content that informs and educates. To learn more, read our Content Writing Policy, Content Review Policy, Anti-plagiarism Policy, and About Us.

However, if this content does not meet your expectations, kindly reach out to us through one of the following means:

  1. Respond to "Was this page helpful?" above
  2. Leave a comment with the "Leave a Comment" form below
  3. Email us at [email protected] or via the Contact Us page.

Leave a comment

Send this to a friend