How to Fix Microsoft 365 Sign-In Error 404 on Hybrid-Domain PCs
Question details
Users encounter an Error 404 prompt during Microsoft 365 activation on hybrid-domain computers, despite web applications working perfectly.

- Product
- Microsoft 365
- Device & OS
- Windows
- Scenario
- Activating Microsoft 365 desktop applications within a hybrid local and Azure Active Directory environment.
- Observed behavior
- The desktop app activation fails with Error 404. Standard troubleshooting methods like reinstallation, domain rejoining, and account removal do not resolve the authentication loop.
Verify that your computer has an active connection to your corporate network or VPN, and ensure you have local administrative privileges to modify security settings.
Use the Microsoft Support and Recovery Assistant (SaRA)
Run Microsoft's official diagnostic tool to automatically detect and repair underlying activation and token broker issues on hybrid domains.
Since standard reinstallation does not remove cached authentication tokens or fix WAM (Web Account Manager) registry issues, the SaRA tool provides a deep-clean and automated diagnostic tailored for complex domain setups.
Navigate to the official Microsoft Support website and download the Microsoft Support and Recovery Assistant.
Run the downloaded executable file to install the application, then open it from your Start menu.
Click on 'Office & Office Apps' from the main menu, select 'Next', and choose the option 'I've installed Office, but I can't activate it'.
Follow the on-screen prompts to allow the tool to diagnose your hybrid-domain authentication status and apply the recommended automated fixes.

Enable TLS 1.2 on Your Computer
Ensure that your system allows TLS 1.2 connections, as Microsoft 365 authentication requires this security protocol to verify licenses.
Bypass Complex Activation Errors with WPS Office
Tired of dealing with hybrid-domain sign-in loops, WAM issues, and Error 404? WPS Office offers a powerful, lightweight alternative that does not rely on complex Azure AD activation protocols. Enjoy robust document creation with a familiar interface, completely free.
- 1. Download the Installer: Visit the official WPS website and download the free WPS Office installation package.
- 2. Install WPS Office: Run the lightweight installer and complete the setup in just a few seconds without needing network admin approval.
- 3. Open Your Documents: Open your existing Microsoft Office files instantly and start working without dealing with subscription sign-ins.

Frequently Asked Questions
Why do I get Error 404 on a desktop app when Office web apps work fine?
Office web apps authenticate directly through your browser session. Desktop applications, however, use the Web Account Manager (WAM) in Windows. In a hybrid-domain environment, token mismatches between your local Active Directory and Azure AD can cause the desktop broker to fail, resulting in a 404 error.
Will reinstalling Microsoft 365 resolve the Error 404?
Usually, no. Standard uninstallation or running a quick repair does not clear the corrupted token caches or registry keys causing the authentication loop. You must clear these credentials using the Support and Recovery Assistant.
How can I verify if my computer is actually on a hybrid-domain?
Open the Command Prompt as an administrator and type 'dsregcmd /status'. Look for 'AzureAdJoined' and 'DomainJoined' in the output. If both indicate 'YES', your device is running in a hybrid Azure AD environment.




