Cause: The user who is trying to enroll the device does not have a Microsoft Intune license.
Resolution:
-
Go to the Office 365 Admin Center, and then choose Users > Active Users.
-
Select the user account that you want to assign an Intune user license to, and then choose Product licenses > Edit.
-
Switch the toggle to the Onposition for the license that you want to assign to this user, and then choose Save.
-
Re-enroll the device.