Windows 11 computer manually enroll failed

Houman Alavehzadeh 0 Reputation points
2024-11-25T09:13:26.91+00:00

Yesterday, I tried to manually enroll a Windows 11 computer from the "set up a work or school account", then select "enroll only in device management", it failed and got below error:

"We couldn't auto-discover a management endpoint matching the username entered. Please check your username and try again. If you know the URL to your management endpoint, please enter it"

what I found that for all my users in Azur, they have user principal name as x.com and their identity are x.onmicrosoft.com.

when I use identity , it passes above error , it asked me login again when I log in I get the following error message:

There was a problem A server accrued please try again (0x80180003)

I also activated trial Entra ID P2 license and when I use MDM discovery URL , I get same user error message.

Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,288 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ZhoumingDuan-MSFT 14,160 Reputation points Microsoft Vendor
    2024-11-26T05:44:29.4933333+00:00

    @Houman Alavehzadeh, Thanks for posting in Q&A.

    From your description, I know you want to enroll your Windows 11 to Intune but get error "We Couldn't auto discover a management endpoint matching the username entered. Please check your user name & try again, if you know the URL to your management endpoint. Please enter it" when we do the enrollment via Window 11 access work or school. If there's any misunderstanding, feel free to let us know.

    Firstly, we suggest accessing Microsoft Endpoint Manager admin center->Devices->Enroll device->Automatic Enrollment, and check if the MDM URLs are there. If not, click "Restore default MDM URLs" to see if we can get the URLs.

    57451-image.png

    Meanwhile, as a reminder, please ensure the user we enter to do the enrollment has Intune license assigned.

    Also, you can check the method mentioned by @JatinMakhija to see if the issue can be fixed.

    Hope above information can help you.

    If the response is helpful, please click "Accept Answer" and upvote it.

    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.


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.