Intune Autopilot enrollment: invalid_client error failed%20to%20authenticate%20user

Intune Autopilot enrollment fails with an “invalid_client” error after the user enters their credentials with the following error message: Error invalid_client failed%20to%20authenticate%20user Something went wrongLooks like we can’t connect to the URL for your organization’s MDM terms of use. Try …

Intune Autopilot enrollment: invalid_client error failed%20to%20authenticate%20user