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
Additional problem information:
There are a few things to check to fix this issue.
- Make sure that the user account has an Intune license. This was missing in my case and adding the license fixed the problem.
- If you are using group based licensing, make sure that Intune license is turned on for the group.
- Make sure that the MDM user scope within Intune is not set to ‘None’. If a group is used, make sure that the user account that is failing is part of that group.