Day 2-2 Pre-provisioned Mode¶
📌 Today we will discuss Windows Autopilot with Pre-provisioned Mode. This article provides a theoretical overview and step-by-step guide.
Reference: https://learn.microsoft.com/en-us/autopilot/tutorial/user-driven/azure-ad-join-workflow
Theory¶
What is Autopilot User-Driven Mode? Autopilot User-Driven Mode allows end users to set up their devices with minimal IT intervention. After turning on the device and signing in, the device automatically joins the organization, enrolls in Intune, and applies company policies.
When to Use It:
Device is delivered directly to end users
No IT/OEM/reseller interaction required
Designed for single-user devices
Works on physical devices and VMs (TPM attestation not required)
Deployment¶
Step 1: Set up Windows automatic Intune enrollment¶
Sign in to Microsoft Entra ID
Search and access Mobility (MDM and WIP)
Select Microsoft Intune
Set the following: * MDM user scope: All * WIP user scope: None
Click Save
Step 2: Allow users to join devices to Microsoft Entra ID¶
Sign in to Entra ID
Navigate to Identity > Devices
Under Device Settings > Users may join devices to Microsoft Entra: set to All
Click Save
Step 3: Create Dynamic Device Group¶
Go to Intune Admin Center > Groups > All groups
Click New group
Fill out: * Group type: Security * Name: All Autopilot Device * Membership type: Dynamic Device
In Dynamic membership rules, paste:
(device.devicePhysicalIDs -any (_ -startsWith "[ZTDid]"))Save and Create
Step 4: Configure & Assign Enrollment Status Page (ESP)¶
ESP allows partial installs during provisioning. Recommended setting:
Enable “only fail selected blocking apps in technician phase”
Install all apps even if not blocking
A. Upload Package App (e.g. Zoom)¶
Download Zoom MSI installer
Go to Intune Admin Center > Apps > Windows > Create app
Choose Line-of-business app
Upload MSI
Set: * Name: Zoom * Command-line: /qn
Assign to All Autopilot Device group
B. Create ESP Profile¶
Navigate to Devices > Windows > Enrollment > Enrollment Status Page
Click Create > Set: * Name: ESP - Autopilot User-Driven Mode * Show progress: Yes * Error timeout: 60 min * Error message: Installation exceeded time limit… * Block device use: Yes * Add Zoom to blocking apps * Assignment: All Autopilot Device
Step 5: Create and Assign Windows Autopilot Profile¶
Navigate to Devices > Windows > Enrollment > Deployment Profiles
Create new profile: * Name: DeployProfile - Autopilot User-Driven Mode * Deployment mode: User-driven * Join to: Microsoft Entra joined * Hide license/privacy/options * User type: Administrator * Apply device name template: UserDr-%SERIAL% * Assign to: All Autopilot Device
Admin Workflow¶
Register devices for Windows Autopilot
Ensure profile is assigned in Intune
Note: Registered ≠ Enrolled in Intune
User Workflow¶
Deploy the device (trigger Autopilot enrollment)
Follow the OOBE flow as defined
Reference: https://learn.microsoft.com/en-us/autopilot/tutorial/user-driven/azure-ad-join-deploy-device