Intune Autopilot

Paragraph

Intune Autopilot – invalid client error failed%20to%20authenticate%20user

After the user credentials are validated in the Intune Autopilot enrollment, the following error message comes up. invalid client error failed%20to%20authenticate%20user.

The detailed error is as below.

Something went wrong
Looks like we can’t connect to the URL for your organization’s MDM terms of use. Try again or contact your system administrator with problem information from this page.
Additional problem information:
Error: invalid client
Error subcode:
Description: failed%20to%20authenticate%20user


Solution

Verify from Microsoft Endpoint Manager Admin Center that the user who is registering for Intune is licensed:

  1. Go to the Microsoft Endpoint Manager Admin Center > Users | All users> Search for user > Licenses > Assignments.
  2. Verify that the user has an Enterprise Mobility + Security E3 or higher license and check the option of Microsoft Intune. In the image below, the license is granted with an Azure Active Directory group named “INTUNE_ENROLL”:

Next, check that the user has permissions to read the MDM terms of use of our organization in Intune:

  1. Go to the Microsoft Endpoint Manager Admin Center > Enroll devices | Windows enrollment > Configure.
  2. Verify that the user is in both user scopes (MDM and MAM). In the image below, the user will be in the MDM scope with option “All” and in the scope of MAM with the group “INTUNE_ENROLL”: