Custom MDM add in Mobility option in Azure AD

Bhagyashree 0 Reputation points
2025-07-09T09:22:24.52+00:00

Add a custom MDM in Mobility option in AD

add a terms.aspx page & a discovery URL whose code present on my API(Publish publicly) and set scope to all for my MDM and none for Intune .

When system is OOBE it hit my terms.aspx page while accepting this URL called https://login.microsoftonline.com/WebApp/CloudDomainJoin/10?IsAccepted=true&OpaqueBlob=

and i got and error 80004005 "Something went wrong.

Confirm you are using the correct sign-in information and that

your organization uses this feature. You can try to do this again or contact your system administrator with the error code 80004005.

Set up Windows with a local account

Try again"

Microsoft Security | Intune | Configuration
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Prathista Ilango 670 Reputation points Microsoft Employee
    2025-11-21T15:10:14.6266667+00:00

    Hello Bhagyashree,

    I am sorry that you ran into this. Hope your issue is resolved. If not, few pointers to help troubleshoot.

    1. The Opaque blob shouldn't be empty like in your case.
    2. Ensure the page is publicly reachable.

    Since this is custom MDM, you need to check with the respective MDM provider to help fix the above. If you are using Intune and still facing this, please reach out to Intune support here: https://learn.microsoft.com/en-us/intune/get-support

    Hope this helps!

    If you found the information above helpful, please Click Yes. This will assist others in the community who encounter a similar issue, enabling them to quickly find the solution and benefit from the guidance provided.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.