How To Join Windows 11 To Azure Active Directory

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.

Specifically, you’ll learn how to join a Windows 11 PC to Azure AD from Windows Settings. In addition to that, I have also included steps to perform the same task with PowerShell.

The guide also has an FAQ section where I answer commonly asked questions about adding devices to Azure AD.

How To Join Windows 11 To Azure Active Directory 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.
  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.

How To Join Windows 11 To Azure Active Directory 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 About Joining Windows 11 To Azure Active Directory

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.

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.

My Final Thoughts About Joining Windows 11 To Azure Active Directory

My Final Thoughts About Joining Windows 11 To Azure Active Directory

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, kindly vote Yes to the “Was this post helpful?” question below.

Alternatively, you can share your experience with joining Windows 10 or 11 to Azure Active Directory. To share your experience with us and other readers, use the “LEAVE A REPLY” form at the end 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.

References And Further Reading

  1. AzureAD PowerShell module
  2. New-AzureADDevice
  3. Introduction to device management in Azure Active Directory 

Victor Ashiedu

Source link