Event details

Looking to simplify setup and configuration for new devices? Let’s talk about Windows Autopilot! The engineering team will be on camera and ready to answer your questions. Whether you are seeking to better understand the differences between Windows Autopilot and Windows Autopilot device preparation—or get into the details of monitoring and reporting—this Ask Microsoft Anything (AMA) session is your chance to ask questions and get answers in real time.  

 

On the panel: Joe Lurie, Maggie Dakeva, and Rob York

 

This event is part of the Tech Community Live: Windows edition

Pearl-Angeles
Updated Oct 14, 2025

110 Comments

Comments have been turned off for this event
  • kamal380's avatar
    kamal380
    Copper Contributor

    When troubleshooting AP registration, what should we look for in logs (event viewer, ime logs, get-autopilotdiagnostics) and registry that are key indicators of an issue?

    • Jason_Sandys's avatar
      Jason_Sandys
      Icon for Microsoft rankMicrosoft

      Hi kamal380​. An device has no way of knowing whether it is registered or not until it queries the Autopilot service and if it's not properly registered, the Autopilot service will simply tell it this. This will result in an event in the DeviceManagement-Enterprise-Diagnostic-Provider event log stating that the device is not Autopilot registered. This is truly the only local artifact of a device not being properly Autopilot registered and thus, there's nothing local to check or find on a device that is not properly registered with the Autopilot service.

      Autopilot profile not downloading can be caused by multiple things though including not having proper connectivity to the Autopilot service which will also result in an event in the same event log stating this.

      Beyond that, most troubleshooting will have to be on the service side for devices that do or cannot start the Autopilot provisioning process.

      A lot more info on Autopilot troubleshooting is at Windows Autopilot troubleshooting FAQ | Microsoft Learn.

      • Hung_Dang's avatar
        Hung_Dang
        Icon for Microsoft rankMicrosoft

        When a device contacts the Autopilot Service to get an AP profile, the device stores a copy of the file at c:\windows\ServiceState\wmansvc\AutopilotDDSZTDFile.json.  You can look in that file for clues as well.  e.g., it has certain messages that may be useful for your troubleshooting.  There are also some troubleshooting steps for self-deploying and pre-provisioning mode that I posted here:  https://techcommunity.microsoft.com/event/windowsevents/ama-windows-autopilot/4429103/comments/4438435

        Hope this helps.

  • kamal380's avatar
    kamal380
    Copper Contributor

    in what scenarios do you recommend orgs use group tags when registering devices to AP?

  • We have recently found across multiple new M365 tenants, that the Self-Deploying enrolment profile is no longer working correctly because it requires a user to login prior to displaying the ESP page. All existing tenants we have configured to use Self-Deploying are still working fine, displaying the ESP page with no need for interactive user login. When we check the logs on a device in the new tenants, after we've signed in and completed the ESP, the status shows that a UserDrivenEnrolment was performed. Has something changed to stop Self-Deploying working without interactive user login on tenants setup in the last two months? Thanks

    • Hung_Dang's avatar
      Hung_Dang
      Icon for Microsoft rankMicrosoft

      Self-deploying mode (SDM) requires that the device is 1) Autopilot-registered and 2) an AP profile configuring SDM is targeted to the device (or a device group that the device is a member of). 

      If those two prerequisites are correct, then you can check if the device pulled down the AP profile (after you've connected the device to ethernet and booted it to the first page in OOBE) by checking if you see a PolicyJsonCache registry value under the key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Provisioning\AutopilotPolicyCache"; the value should be a JSON blob with your tenant's domain name in it.  If the value is not present with your domain in it, then that means the profile failed to be downloaded for some reason.  Some possible reasons:  1) You assigned the profile to the wrong device/group.  2) You already went through SDM on the device and need to press the Unblock button for it on the Autopilot Devices blade on the Intune portal (same blade where you registered devices into Autopilot).  (Some manufacturers are allowlisted to bypass this unblock for their devices, and so you don't have to press Unblock for their devices in between SDM or pre-provisioning device deployments.)

      Hope this helps.

  • gailerm's avatar
    gailerm
    Occasional Reader

    Whilst I've used a Michael Niehaus script to deploy applications only when in Autopilot, and I've created my own script to only deploy application during pre-provisioning in Autopilot, will Microsoft ever add native capabilities to Intune/Autopilot such as a check box for apps to only install during either of these two processes (or even to ensure that an app only installs when Autopilot is completed)?

    • gailerm's avatar
      gailerm
      Occasional Reader

      I saw that this was discussed when watching the recording (it was midnight my time when it was run).

      In terms of applications that run only during Autopilot that has typically been the Autopilot Branding application Michael Niehaus publishes - which is somewhat a first run application for device/user customisation (e.g. HKCU settings). 

      In terms of applications that run in Pre-Provisioning only, I've developed two applications (PowerShell scripts configured to run as applications) that install Windows Update and Driver Updates (minus firmware & network drivers) on devices. As these updates can take a long time to run if the OEM image is a few months or more old (we have customers who've had new devices sitting in a box for > 12 months), I don't want them running when a user is sitting in front of the device waiting. Hence the idea of running in Pre-Provisioning only. If those apps aren't installed because a device didn't use Pre-Provisioning, it's not a big deal. But there was certainly benefits for us to be able to run these if we did Pre-Provisioning.

      Hope this makes sense.

  • kamal380's avatar
    kamal380
    Copper Contributor

    Hi I would like to use company portal automatic startup feature. Can I package company portal appxbundle as a win32 app to deploy during autopilot? i.e .appxbundle file as the setup file and all it's dependencies in source folder?

    • Jason_Sandys's avatar
      Jason_Sandys
      Icon for Microsoft rankMicrosoft

      You can directly install the Company Portal from the Microsoft directly suing the Microsoft Store app type in Intune. Is there a specific reason you can't use this?

      • kamal380's avatar
        kamal380
        Copper Contributor

        Hi Jason_Sandys​ , is it possible to auto launch comp portal when user gets to desktop on first sign in

        I was referencing this article https://patchmypc.com/blog/launching-the-company-portal-automatically-after-autopilot/

  • RandyGottel's avatar
    RandyGottel
    Copper Contributor

    We really need an order of installation for ESP applications! Will we ever have this capability?

    • Pearl-Angeles's avatar
      Pearl-Angeles
      Icon for Community Manager rankCommunity Manager

      Thanks for your feedback and question! The panelists covered this topic at 51:36 and encouraged you to go to aka.ms/CloudNativeEndpoints for more information. 

    • mdoose's avatar
      mdoose
      Copper Contributor

      Agree! With the ui not showing the friendly name of the application currently installing knowing what App 1 of 10 is is useful to the user and IT for debug. The logs are disjointed and list guids instead of friendly names. Having a single all in one log like smstslog would be more useful for debug. We need control and reliability during deployment, having something that deploys the same each time is useful in this respect.

  • bwilkerson217's avatar
    bwilkerson217
    Brass Contributor

    When is Microsoft going to fix the TPM Attestation issues during provisioning? We are severely being impacted by this and support case is not giving any answers other than it is a known issue.
    https://learn.microsoft.com/en-us/autopilot/known-issues

    Hard to get computers to our users if we cannot provision them effectively.

    • Jason_Sandys's avatar
      Jason_Sandys
      Icon for Microsoft rankMicrosoft

      Most (if not all) TPM attestation issues are outside of our control as they are specific to the TPM hardware and/or the certificates that the TPM vendor issued to the TPM. Please continue working with support to help identify the source of the issue so that we can work with the various OEMs and TPM vendors.