This article helps resolve the error "An error has occurred" during the Windows Out of Box Experience (OOBE).
When you first turn on Windows 365 Link, OOBE is loaded to guide you through the process of joining the device to your Microsoft Entra tenant and enrolling the device into Intune management. If a failure occurs, you might encounter the following error message:
Let's add your Microsoft account
An error has occurred. Please try again.
This error commonly occurs due to the following reasons:
- Join permissions
- Join limits
- Enrollment restrictions
To complete OOBE, ensure the following items:
- You're allowed to join Windows devices to Microsoft Entra. For configuration details, see Allow joining Windows 365 Link to Microsoft Entra.
- You don't exceed the maximum number of devices allowed to join Microsoft Entra ID. For configuration details, see Allow joining Windows 365 Link to Microsoft Entra.
- You aren't blocked by platform restrictions that prevent you from enrolling Windows devices in Intune management. For configuration details, see Configure enrollment restrictions for Windows 365 Link devices.
Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
