On-premises authentication device enrollment failure

ai second 1 Reputation point


After we configured the MDM discovery URL of the On-premises MDM application in azure portal, and then tried to "join this device to Azure Active Directory" we got the error message above. We have completed the MDM discovery URL according to this, but did not receive any request when registering the Windows10 device. Can you help us solve this error?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,444 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. VipulSparsh-MSFT 16,251 Reputation points Microsoft Employee

    @ai second It seems you have your own on-premises MDM server where you are trying to enroll your devices. Looking at the error message the service seems to be looking for the Terms Of use URL, can you confirm if you on-prem MDM server has a correct TOU URL. For Intune it is something like this :


    1 person found this answer helpful.
    0 comments No comments

  2. ai second 1 Reputation point

    @VipulSparsh-MSFT Thank you for your reply. If I set intunen's MDM discovery URL here, then this error will not occur. So this should be the wrong MDM discovery URL of our service. But how should we provide a url to register the device. We used to follow the documentation here.The URL provided by our service is https://uitest.safeuem.com/windows/Enrollmentserver/Discovery.svc
    The response data is like this

    We don’t know what went wrong. Howrad told us that we need to create a resource app and client app on Azure Active Direcroty to complete the verification process.
    We want to develop our own MDM service to manage Windows 10 devices. Are there detailed development documents and operation guides to help us?

    0 comments No comments

  3. VipulSparsh-MSFT 16,251 Reputation points Microsoft Employee

    @ai second Yes, we do have an article for adding an On-prem MDM app to Azure AD. You can have a look here

    Let me know if you have any questions.


    If the suggested response helped you resolve your issue, do click on "Mark as Answer" and "Up-Vote" for the answer that helped you for benefit of the community.