Forum Discussion

ElectricalWorker99's avatar
ElectricalWorker99
Copper Contributor
Oct 08, 2025

Having trouble with MDM

I am trying to set up a surface pro with a business account. However I got a error saying looks like we can't connect to the URL for your organization's MDM terms of us. 

Error: invalid_client

Error subcode:

Description: failed%20to%20authenticate%20user

 

Does anyone know a quick fix to this problem.

 

Thanks,

1 Reply

  • AladinH's avatar
    AladinH
    Occasional Reader

    Hi ElectricalWorker99​,

    That error usually means the device can’t reach your Intune MDM URL or the user isn’t licensed.

    Check that:

    - The user has an Intune or M365 E3/E5 license.

    - MDM auto-enrollment URLs are set correctly in Intune.

    - You’re signing in with the full UPN and have internet during setup.

    - No old work account is cached - remove it and try again.

    If it still fails, run dsregcmd /status and check whether the device is joined or pending.

    Let me know if this helps. Thanks.

Resources