SOLVED: Error 80180002 – Your Account Was Not Setup On This Device Because Device Management Could Not Be Enabled

You may receive, “Your Account Was Not Setup On This Device Because Device Management Could Not Be Enabled” After trying to setup a Microsoft Office 365 service (like OneDrive or Outlook) or in our case the user was trying to ADD ACCOUNT to her existing accounts.

You might be surprised to find that Microsoft has a service called InTune that allows (primarily companies) to manage computers including home computers of their employees and contractors. Intune is what’s called an MDM or Mobile Device Manager, Because it was originally focused on things like cell phones and tablets but now includes everything from Windows PC’s to Apple laptops to Linux servers.

You also might be surprised to find that if you have a Microsoft Office 365 account you also have a Microsoft Azure account. This is because Microsoft manages all users through Azure.

If your Azure is configured to require InTune, the 80180002 DEVICE MANAGEMENT COULD NOT BE ENABLED error can appear. It looks like Microsoft added InTune links to many Azure accounts but defaulted it to NOT accepting new devices.

Fix Error 80180002 DEVICE MANAGEMENT COULD NOT BE ENABLED

The solution is to adjust InTune requirements to allow devices to be managed:

  1. Surf to portal.azure.com and sign in
    • Yes, you need to be an Office 365 or Azure admin to do this
  2. Enter Azure Active Directory (AAD) in the search bar and the top and click on it AAD
  3. Click on MOBILITY (MDM and MAM)
    • In the left menu bar, just scroll down a bit if you don’t see it
  4. Click on MICROSOFT INTUNE and ensure the USER SCOPEs are configured to ALL
  5. IF you see a MICROSOFT INTUNE ENROLLMENT entry, click on it and the select DELETE

Our experience has been that this change is almost instantaneous but it is possible it will take a few minutes to replicate through Microsoft’s large network.

Try to add your account again on the machine that was failing previously.

How To Recreate MICROSOFT INTUNE ENROLLMENT Entry in Azure

If you need to recreate the MICROSOFT INTUNE ENROLLMENT entry:

  1. Surf to portal.azure.com and sign in
  2. Enter Azure Active Directory (AAD) in the search bar and the top and click on it AAD
  3. Click on MOBILITY (MDM and MAM)
  4. Click the + ADD APPLICATION (top menu bar)
  5. Click + CREATE YOUR OWN APPLICATION (top menu bar)
  6. Here are the settings:
    • MICROSOFT INTUNE ENROLLMENT
    • AzureADPreview\Connect-AzureAD -AccountId xx@xx.onmicrosoft.com
      • obviously, you need to sub in your account for the xx@xx.onmicrosoft.com
    • New-AzureADServicePrincipal -AppId d4ebce55-015a-49b5-a083-c84d1797ae8c

If you need more information, you might find THIS thread useful.


Published by
Ian Matthews

This website uses cookies.