See the following detailed workflow diagram. The diagram covers the Windows Autopatch device registration process:
Step 1: Identify devices
IT admin identifies devices to be managed by the Windows Autopatch service.
Step 2: Add devices
IT admin adds devices through direct membership or nests other Azure AD assigned or dynamic groups into the Windows Autopatch Device Registration Azure AD assigned group.
Step 3: Discover devices
The Windows Autopatch Discover Devices function hourly discovers devices previously added by the IT admin into the Windows Autopatch Device Registration Azure AD assigned group in step #2. The Azure AD device ID is used by Windows Autopatch to query device attributes in both Microsoft Endpoint Manager-Intune and Azure AD when registering devices into its service.
Once devices are discovered from the Azure AD group, the same function gathers additional device attributes and saves it into its memory during the discovery operation. The following device attributes are gathered from Azure AD in this step:
DisplayName (Device name)
In this same step, the Windows Autopatch discover devices function calls another function, the device prerequisite check function. The device prerequisite check function evaluates software-based device-level prerequisites to comply with Windows Autopatch device readiness requirements prior to registration.
Step 4: Check prerequisites
The Windows Autopatch prerequisite function makes an Intune Graph API call to sequentially validate device readiness attributes required for the registration process. For detailed information, see the Detailed prerequisite check workflow diagram section. The service checks the following device readiness attributes, and/or prerequisites:
Serial number, model, and manufacturer.
Checks if the serial number already exists in the Windows Autopatch’s managed device database.
If the device is Intune-managed or not.
Windows Autopatch looks to see if the Azure AD device ID has an Intune device ID associated with it.
If yes, it means this device is enrolled into Intune.
If not, it means the device isn't enrolled into Intune, hence it can't be managed by the Windows Autopatch service.
If the device is not managed by Intune, the Windows Autopatch service can't gather device attributes such as operating system version, Intune enrollment date, device name and other attributes. When this happens, the Windows Autopatch service uses the Azure AD device attributes gathered and saved to its memory in step 3a.
Once it has the device attributes gathered from Azure AD in step 3a, the device is flagged with the Prerequisite failed status, then added to the Not registered tab so the IT admin can review the reason(s) the device wasn't registered into Windows Autopatch. The IT admin will remediate these devices. In this case, the IT admin should check why the device wasn’t enrolled into Intune.
If the device is managed by Intune, the Windows Autopatch prerequisite check function continues to the next prerequisite check, which evaluates whether the device has checked into Intune in the last 28 days.
If the device is a Windows device or not.
Windows Autopatch looks to see if the device is a Windows and corporate-owned device.
If yes, it means this device can be registered with the service because it's a Windows corporate-owned device.
If not, it means the device is a non-Windows device, or it's a Windows device but it's a personal device.
Windows Autopatch checks the Windows SKU family. The SKU must be either:
If the device meets the operating system requirements, Windows Autopatch checks whether the device is either:
Only managed by Intune.
If the device is only managed by Intune, the device is marked as Passed all prerequisites.
Co-managed by both Configuration Manager and Intune.
If the device is co-managed by both Configuration Manager and Intune, an additional prerequisite check is evaluated to determine if the device satisfies the co-management-enabled workloads required by Windows Autopatch to manage devices in a co-managed state. The required co-management workloads evaluated in this step are:
Windows Updates Policies
Office Click to Run
If Windows Autopatch determines that one of these workloads isn’t enabled on the device, the service marks the device as Prerequisite failed and moves the device to the Not registered tab.
Step 5: Calculate deployment ring assignment
Once the device passes all prerequisites described in step #4, Windows Autopatch starts its deployment ring assignment calculation. The following logic is used to calculate the Windows Autopatch deployment ring assignment:
If the Windows Autopatch tenant’s existing managed device size is ≤ 200, the deployment ring assignment is First (5%), Fast (15%), remaining devices go to the Broad ring (80%).
If the Windows Autopatch tenant’s existing managed device size is >200, the deployment ring assignment will be First (1%), Fast (9%), remaining devices go to the Broad ring (90%).
Step 6: Assign devices to a deployment ring group
Once the deployment ring calculation is done, Windows Autopatch assigns devices to one of the following deployment ring groups:
Modern Workplace Devices-Windows Autopatch-First
The Windows Autopatch device registration process doesn’t automatically assign devices to the Test ring represented by the Azure AD group (Modern Workplace Devices-Windows Autopatch-Test). It’s important that you assign devices to the Test ring to validate the update deployments before the updates are deployed to a broader population of devices.
Modern Workplace Devices-Windows Autopatch-Fast
Modern Workplace Devices-Windows Autopatch-Broad
Step 7: Assign devices to an Azure AD group
Windows Autopatch also assigns devices to the following Azure AD groups when certain conditions apply:
Modern Workplace Devices - All
This group has all devices managed by Windows Autopatch.
When registering Windows 10 devices, use Modern Workplace Devices Dynamic - Windows 10
This group has all devices managed by Windows Autopatch and that have Windows 10 installed.
When registering Windows 11 devices, use Modern Workplace Devices Dynamic - Windows 11
This group has all devices managed by Windows Autopatch and that have Windows 11 installed.
When registering virtual devices, use Modern Workplace Devices - Virtual Machine
This group has all virtual devices managed by Windows Autopatch.
Step 8: Post-device registration
In post-device registration, three actions occur:
Windows Autopatch adds devices to its managed database.
Flags devices as Active in the Ready tab.
The Azure AD device ID of the device successfully registered is added into the Microsoft Cloud Managed Desktop Extension’s allowlist. Windows Autopatch installs the Microsoft Cloud Managed Desktop Extension agent once devices are registered, so the agent can communicate back to the Microsoft Cloud Managed Desktop Extension service.
The agent is the Modern Workplace - Autopatch Client setup PowerShell script that was created during the Windows Autopatch tenant enrollment process. The script is executed once devices are successfully registered into the Windows Autopatch service.
Step 9: Review device registration status
IT admins review the device registration status in both the Ready and Not registered tabs.
If the device was successfully registered, the device shows up in the Ready tab.
If not, the device shows up in the Not registered tab.
Step 10: End of registration workflow
This is the end of the Windows Autopatch device registration workflow.
Detailed prerequisite check workflow diagram
As described in step #4 in the previous Detailed device registration workflow diagram, the following diagram is a visual representation of the prerequisite construct for the Windows Autopatch device registration process. The prerequisite checks are sequentially performed.