Windows MAM Enrollment fails with Azure AD, Intune and Cloud based MAM enroll service

Vijesh Kumar 1 Reputation point
2022-04-22T12:10:33.247+00:00

Steps tried:

  • Enabled Microsoft Intune in Azure AD -> Mobility (MDM and MAM)
  • Configured MAM terms of use URL and MAM discovery URL to cloud-based MAM enrollment service
  • Intune license is available
  • Enrolled a windows 10 and 11 endpoint using Access work or school -> Connect
  • Accepted terms of use (from cloud-based service)
  • Enrollment request from windows device with RequestSecurityToken is received
  • Enrollment RequestSecurityTokenResponse is sent with WAP
  • Access work or school -> connect action fails with error code 80070002, The system cannot find the file specified.

Found below events logged:
DeviceManagement-Enterprise-Diagnostics-Provider:
Info: MDM Enroll: Certificate enrollment request sent successfully.
Info: MDM Enroll: Certificate enrollment response parsed successfully.
Info: MDM Enroll: OMA-DM client configuration succeeds.
Error: MDM Enroll: Provisioning failed. Result: (The system cannot find the file specified.).

Checked timestamp and installed windows updates, but the issue is not resolved. I could notice in Azure AD, that the device is enrolled as Azure AD registered (BYOD).

Please help!

Microsoft Security | Intune | Application management
Microsoft Security | Intune | Enrollment
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Crystal-MSFT 53,991 Reputation points Microsoft External Staff
    2022-04-25T01:21:35.36+00:00

    @Vijesh Kumar , From your description, it seems you are configure windows auto-enroll to MAM. If there's any misunderstanding, please let us know.

    For the error code, it shows the file cannot find, Firstly, please check if the MAM discovery URL we configure is "https://wip.mam.manage.microsoft.com/Enroll".
    195933-image.png
    Meanwhile, to make auto -enroll work, please also make sure the user is with Azure Active Directory Premium license is assigned.
    https://learn.microsoft.com/en-us/mem/intune/enrollment/quickstart-setup-auto-enrollment

    Please check the above information and if there's any update, feel free to let us know.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

Your answer

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