โ ๏ธ
Prerequisites: Windows 10 v1703+, Azure AD Premium licence, Intune licence, devices connected to internet during OOBE, OEM that supports Autopilot.
Step 1
Extract Hardware Hash & Import Devices
Run the Get-WindowsAutopilotInfo script on each device to extract the hardware hash, then import the resulting CSV into Intune.
Install-Script -Name Get-WindowsAutopilotInfo Get-WindowsAutopilotInfo -OutputFile C:\HWID\DeviceID.csv
Then in Intune: endpoint.microsoft.com โ Devices โ Windows โ Windows Enrollment โ Autopilot โ Devices โ Import CSV
Step 2
Create a Deployment Profile
Navigate to Windows Enrollment โ Deployment Profiles โ Create Profile and set:
โ
Platform
Windows PC
โ
Deployment Mode
User-Driven
โ
Convert all targeted devices to Autopilot
Yes
Step 3
Create Dynamic Azure AD Group
In Azure AD โ Groups โ New Group โ Dynamic Device. Use this membership rule to automatically include all Autopilot devices:
(device.devicePhysicalIDs -any _ -contains "[ZTDId]")
Step 4
Assign Apps & Policies
Target the Autopilot group with everything the device needs out of OOBE:
โ
Apps
Intune โ Apps โ assign required apps to the Autopilot group
โ
Wi-Fi Profile
Device configuration โ Wi-Fi profile assigned to the group
โ
Compliance & Restrictions
Assign compliance policies and device restriction profiles