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!

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,238 questions
Microsoft Intune Application management
Microsoft Intune Application management
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Application management: The process of creating, configuring, managing, and monitoring applications.
877 questions
Microsoft Intune Enrollment
Microsoft Intune Enrollment
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Enrollment: The process of requesting, receiving, and installing a certificate.
1,254 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Crystal-MSFT 43,311 Reputation points Microsoft Vendor
    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.