We use SCCM TS to image machines via Autopilot. Everything was working as expected couple of months ago, but now when we try to image the machines we get error 80070002.

Ankit 20 Reputation points
2024-07-17T09:16:21.0333333+00:00

We use SCCM Task Sequence to configure machines using Autopilot. Everything was working as expected couple of months ago, but now when we try to image the machines we get error 80070002. If I use Azure AD join profile, it works, but if we use HAAD join, we get an error 80070002 after waiting for 30 minutes on the blue screen that says Please Wait while we set up your device. Have tried on both physical and virtual machines, same issue.

Windows Autopilot
Windows Autopilot
A collection of Microsoft technologies used to set up and pre-configure new devices and to reset, repurpose, and recover devices.
441 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,720 questions
Microsoft Configuration Manager
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AllenLiu-MSFT 42,826 Reputation points Microsoft Vendor
    2024-07-18T03:01:52.4066667+00:00

    Hi,

    Thank you for posting in Microsoft Q&A forum.

    It seems that you are experiencing an error 80070002 when using SCCM Task Sequence to configure machines using Autopilot with HAAD join. This error occurs when the device preparation phase fails while waiting on the client to install. To troubleshoot this issue, you can collect logs and investigate how the enrollment status page failed while waiting for Configuration Manager. You can find more information on how to troubleshoot Autopilot in the Troubleshooting overview document provided in the context.

    It is also worth noting that the error 80070002 can occur when there is a mismatch between the device's time zone and the time zone of the server that hosts the Offline Domain Join Intune Connector. You can check the time zone settings on both the device and the server to ensure they match.


    References:

    How to enroll with Autopilot - Troubleshoot

    Troubleshooting overview


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".