Manage Diagnostics Collection for Autopilot failure in Intune

The autopilot automatic capture diagnostic feature is enabled by default to capture failure logs, and you can enable or disable this feature from Intune admin center.

Prajwal Desai
Posted by Prajwal Desai
Manage Autopilot Automatic Diagnostic Capture in Intune

This tutorial describes how to manage the diagnostics collection for autopilot failure for Windows devices in Intune. The autopilot automatic capture diagnostic feature is by default turned on to capture failure logs, but you can turn it off if you don’t need it.

As an Intune consultant, I have worked with many organizations that use Windows autopilot to provision laptops for their users on a daily basis. Honestly speaking, not all autopilot deployments go smoothly, and some laptops may encounter critical errors during the provisioning. Microsoft has a dedicated troubleshooting article on Windows Autopilot known issues.

When you purchase Windows Autopilot licenses for your company, automatic diagnostic capture is by default turned on. When you enable this feature on Windows 10 version 1909 or later and Windows 11, devices that encounter a problem during the Autopilot process will automatically capture diagnostics.

Useful Guide: Fix Autopilot Profile Status Shows Not Assigned | Stuck Assigning

What do the Autopilot Failure diagnostics contain?

When an Autopilot failure occurs, logs are processed on the failed device and then automatically captured and uploaded to Intune. The diagnostics collected from Autopilot failure device may contain personally identifiable data, like the name of the user or the device.

The Collect diagnostics remote action can also be configured to automatically collect and upload Windows devices logs upon an Autopilot failure on a device. Microsoft personnel may access device diagnostics to assist in troubleshooting and resolving incidents.

Microsoft Intune stores the diagnostic collection for 28 days and then deletes it. Each device can have up to 10 collections stored at one time, which is sufficient, I believe.

See Also: How to collect Intune logs from macOS devices

Enable Diagnostics Collection for Autopilot failure in Intune

To be honest, for Autopilot diagnostics collection, no additional action is required. What I mean to say is that the Autopilot diagnostics are automatically captured when devices experience a failure, as long as the Autopilot automatic capture diagnostic feature is enabled.

Follow these steps to confirm whether the diagnostic logs are gathered during autopilot failures:

  • Sign in to the Microsoft Intune admin center.
  • Navigate to Tenant administration > Device diagnostics.
  • Set the option “Automatically capture diagnostics when devices experience a failure during the Autopilot process on Windows 10 version 1909 or later and Windows 11. Diagnostics may include user identifiable information such as user or device name” to “Enabled.”
Enable Diagnostics Collection for Autopilot failure in Intune
Enable Diagnostics Collection for Autopilot failure in Intune

View Autopilot Failure Diagnostics

To view the diagnostics collected after an Autopilot failure:

  • Sign in to the Microsoft Intune admin center.
  • Navigate to Devices > Windows and select a device.
  • Now select Diagnostics > Download.
  • The data zip file is added to your download tray, and you can save it to your computer.

These logs are useful in troubleshooting Autopilot failure issues. They contain error information that can help you understand what went wrong and can assist you in figuring out why the failure happened.

Disable Autopilot automatic diagnostic capture

If your organization doesn’t require the diagnostics collection on autopilot failures, you can turn off this feature from Intune admin center by following these steps:

  • Sign in to the Microsoft Intune admin center.
  • Navigate to Tenant administration > Device diagnostics.
  • Set the option “Automatically capture diagnostics when devices experience a failure during the Autopilot process on Windows 10 version 1909 or later and Windows 11. Diagnostics may include user identifiable information such as user or device name” to “Disabled.”
Disable Autopilot automatic diagnostic capture
Disable Autopilot automatic diagnostic capture

Read Next

Share This Article
Prajwal Desai
Posted by Prajwal Desai
Follow:
Prajwal Desai is a Microsoft MVP in Intune and SCCM. He writes articles on SCCM, Intune, Windows 365, Windows Server, Windows 11, WordPress and other topics, with the goal of providing people with useful information.
Leave a comment