Fix for "We couldn't finish MDM enrollment. Error: 0x80180005"?

Dejiovanni 0 Reputation points
2024-11-21T15:10:55.6733333+00:00

Our computer a Auto-pilot provisioned by Dell. Logging in to the OOBE as an organization user works fine for Intune/MDM enrollment. However when attempting to pre-provision with no user login, I constantly run into "We couldn't finish MDM enrollment. Error: 0x80180005". I've tried with at least 5 different PC's on internal and external networks and get the same result.

Steps taken:

  • connect to external network
  • Reset PC
  • Remove from Auto-pilot assignments and re-add

Same result after each.

Image

Microsoft Security | Windows Autopilot
Microsoft Security | Intune | Other
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Crystal-MSFT 53,991 Reputation points Microsoft External Staff
    2024-11-22T01:44:08.0433333+00:00

    @Dejiovanni, Thanks for posting in Q&A. For Autopilot pre-provisioning, it needs user logging. Here is a link with more details:

    https://learn.microsoft.com/en-us/autopilot/pre-provision

    From your description, it seems you want no user login during the Autopilot enrollment for this device. Sounds like these are shared devices. If so, you need to change to assign Autopilot self-deploying mode profile instead of Autopilot pre-provisioning to this device.

    https://learn.microsoft.com/en-us/autopilot/self-deploying

    Please ask your Dell support to change the Autopilot enrollment profile to self-deploying mode for these devices.

    Hope the above information can help.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Rudy Ooms 701 Reputation points MVP
    2024-11-25T08:24:26.1966667+00:00

    Hi... Well looking at the error code... and what crystal from msft is mentioning. its indeed the option to use prepro/self deploying missing in your autopilot profile.. for more information about this , please read this blog

    https://call4cloud.nl/autopilot-0x80180005-preprovisioning-disabled/

    0 comments No comments

  3. Gary Raboen 6 Reputation points
    2025-04-01T10:19:32.6866667+00:00

    Hi,

    Don't know if this is going to help anyone, but after adding my device in the admin portal under Autopilot devices, I noticed that "Device Group" was set to "None". This was the only device in the list which was set to "None".

    You should see the same device in Intune -> Devices -> Windows -> Enrollment -> Devices (Under Windows Autopilot). Select the device which you are trying to configure and empty the "Group Tag" field which should be set to "0".

    Reset the device and try pre-provisioning again.

    Kind regards,

    Gary

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.