Practice Lab: Enrolling devices into Microsoft Intune
Summary
In this lab, you will join a Windows client to Azure AD and verify that the device has automatically enrolled in to Microsoft Intune.
Prerequisites
To following lab(s) must be completed before this lab:
-
0101-Managing Identities in Azure AD
-
0102-Synchronizing Identities by using Azure AD Connect
-
0203-Manage Device Enrollment into Intune
Note: You will also need a mobile phone that can receive text messages used to secure Windows Hello sign in authentication to Azure AD.
Scenario
You have assigned Aaron Nicholls appropriate licenses and will now test the process of joining a Windows device to Azure AD and have it automatically enroll in Microsoft Intune.
Task 1: Automatically enroll a Windows device to Microsoft Intune
-
Sign in to SEA-WS1 as Admin with the password of Pa55w.rd.
-
Select Start and then select Settings.
-
In Settings, select Accounts.
-
On the Accounts page, select Access work or school.
-
In the Access work or school page, select Connect.
-
In the Microsoft account window, select Join this device to Azure Active Directory.
-
On the Sign in page, type
[email protected]
and then select Next. -
On the Enter password page, enter Pa55w.rd and then select Sign in.
-
On the Make sure this is your organization dialog box, select Join.
-
On the You're all set! page, read the information and then select Done.
-
In the Access work or school section, verify that Connected to Contoso's Azure AD displays.
-
Select Connected to Contoso's Azure AD and then select Info.
-
Take note of the information regarding the areas managed by Contoso, scroll down, and then select Sync. This will force a Device sync with Intune.
-
Close the Settings window.
Task 2: Validate device enrollment into Azure AD And Intune
-
On the SEA-WS1 taskbar, select Start, type cert, and select Manage computer certificates.
-
In the Certificates console, in the navigation pane, expand Personal and select the Certificate node. Verify that the following certificates are listed in the details pane:
-
Microsoft Intune MDM Device CA
-
MS-Organization-Access
-
MS-Organization-P2P-Access [2023]
This indicates that the device is enrolled in Azure AD and Intune.
-
Close the Certificates window.
-
Right-click Start, and then select Windows Terminal (Admin). When prompted select Yes.
-
In the PowerShell console, type the following and press Enter:
dsregcmd /status
-
In the output under Device State, verify that AzureAdJoined : YES is displayed. This indicates that the device is Azure AD joined.
-
In the output under Tenant Details, verify that the following three entries exist:
mdmUrl:https://enrollment.manage.microsoft.com/enrollmentserver/discovery.svc
mdmTouUrl:https://portal.manage.microsoft.com/TermsofUse.aspx
mdmComplianceUrl:https://portal.manage.microsoft.com/?portalAction=Compliance
Note: These entries indicate that the device is enrolled in Intune.
Task 3: Sign in as an Azure AD user
-
Sign out of SEA-WS1.
-
Select Other user, and sign in as
[email protected]
with the password Pa55w.rd. Wait for the profile to be created. -
At the Use Windows Hello with your account page, select OK.
-
On the More information required page, select Next.
-
On the Keep your account secure page, select I want to set up a different method.
-
In the Choose a different method dialog box, select Phone and then select Confirm.
-
On the Phone page, in the Enter phone number field, enter your mobile phone number which is able to receive text messages. Select Next.
-
When you receive the verification code, enter the code on the Phone page and then select Next.
-
On the verification page, select Next and then select Done.
-
On the Set up a PIN page, in the New PIN and Confirm PIN boxes, type 102938 and then select OK.
-
On the All set! page, select OK.
-
Sign out of SEA-WS1.
Task 4: Verifying device enrollment in the Intune console
-
Switch to SEA-SVR1 as Contoso\Administrator with the password of Pa55w.rd.
-
In Microsoft Edge, type https://intune.microsoft.com in the address bar, and then press Enter. Sign in with your Tenant administrator account.
-
In the navigation pane, select Devices.
-
On the Devices | Overview blade under Intune enrolled devices, verify that 1 is displayed next to Windows. It may take a while to display.
-
On the Devices | Overview blade, select All devices and verify that SEA-WS1 is listed.
-
Note that for SEA-WS1, the Managed by column displays Intune and the Ownership column displays Corporate.
Note: This view lists devices that are joined to Azure AD. Remember that you configured automatic enrollment between Azure AD and Intune, and because of that, any device that is joined to Azure AD is automatically enrolled to Intune. Any devices joined prior to setting up enrollment are only joined to Azure AD, but not enrolled in Intune.
-
Open a new tab in Microsoft Edge, in the address bar type https://entra.microsoft.com, and then press Enter.
-
In the Microsoft Entra admin center, expand Identity.
-
Select Devices, then select All devices.
Take note of SEA-WS1. Notice that the Join Type column displays Azure AD joined and the MDM column displays Microsoft Intune.
-
Close all open Windows.
Results: After completing this exercise, you will have successfully joined a Windows client to Azure AD and verified that the device has automatically enrolled in to Microsoft Intune.
END OF LAB