Fix Microsoft 365 Sign-In Errors on Azure AD Domain Devices
Question details
Resolve repeated Microsoft 365 sign-in errors on a domain device synchronized with Azure AD.

- Product
- Microsoft 365 and Microsoft Entra ID, formerly Azure Active Directory
- Device & OS
- Windows; version not provided
- Scenario
- A locally domain-joined computer uses Azure AD Connect to synchronize with the organization's cloud directory.
- Observed behavior
- Sign-in errors occur across Office, Microsoft 365 portals, and other applications when the device is deleted, disabled, or incorrectly synchronized.
Note the exact sign-in error and affected device name, then ask your Microsoft 365 administrator to check its registration and synchronization status. Confirm whether the computer is hybrid joined before changing its work account or device registration.
Check the Device and Synchronization Scope in Microsoft Entra
Use this first when the error says the organization deleted or disabled the device, or when several applications are affected.
Ask an appropriately authorized administrator to open the Microsoft Entra admin center and go to Identity > Devices > All devices. Search for the computer by name or device ID.
Open the device entry and check whether it is disabled or missing. If it is disabled, the administrator should verify why before enabling it.
On the Microsoft Entra Connect server, have the administrator open Microsoft Entra Connect and review the domain and organizational unit filtering configuration. Confirm that the computer's organizational unit is included in the synchronization scope.
After the administrator corrects any device or synchronization issue, try signing in to a Microsoft 365 portal and an affected Office app again.

Reset Windows Device Registration With Administrator Guidance
Consider this if the device record and synchronization scope have been checked but sign-in still fails.
Escalate Persistent Sign-In Errors to Microsoft 365 Support
Use this when device checks and administrator-guided registration steps do not resolve the problem.
Work on Office Documents With WPS Office
WPS Office is a free, lightweight Office alternative with a familiar interface and support for common Microsoft Office formats, making it easy to continue working with existing files. It does not repair Microsoft 365 device registration or bypass organizational sign-in restrictions.

Frequently Asked Questions
Where can an administrator check whether a device is disabled?
In the Microsoft Entra admin center, go to Identity > Devices > All devices and search for the computer by name or device ID.
How can I tell whether my Windows device is hybrid joined?
Open Command Prompt and run dsregcmd /status. A typical hybrid-joined device shows both AzureAdJoined and DomainJoined as YES under Device State.
Does dsregcmd /leave automatically rejoin the device?
No. The command leaves the current device registration. Rejoining depends on the organization's device registration and hybrid join configuration, so consult your administrator first.
Why would an organizational unit affect Microsoft 365 sign-in?
If the computer's organizational unit is excluded from Microsoft Entra Connect synchronization, the device may not synchronize as expected. An administrator can review organizational unit filtering on the Entra Connect server.




