Fix Sign-In Error 4o6fs (Code 2147942405) in Office on Windows 11
Encountering login roadblocks when you urgently need to access your spreadsheets or documents can be incredibly frustrating, but this authentication glitch is usually a quick fix.
Problem Description: MFA and Device Registration Failures
When attempting to open Excel, Word, or other Microsoft Office applications on Windows 11, users may be met with an unexpected login blockade. During the Multifactor Authentication (MFA) process or device registration, the application throws an alphanumeric error code 4o6fs, accompanied by the numeric string 2147942405. This prevents the user from verifying their license or accessing connected cloud files.
Quick Answer for Office Authentication Glitches
To fix this immediately, close all Office apps, delete your Microsoft Office credentials in the Windows Credential Manager, and remove your work/school account from Windows Settings. Afterward, restart your PC, verify your MFA settings online, and sign back into Office.
Likely Causes Behind Code 2147942405
- Corrupted Credential Cache: Windows frequently caches login tokens. If these tokens become outdated or corrupted, they clash with new login attempts.
- Stale Device Registration: Your Windows 11 device registration token in Azure Active Directory (Entra ID) may be out of sync with your local machine.
- MFA App Disconnect: Changes to your security info or a recently updated Microsoft Authenticator app can sever the trust connection with your desktop software.
Recommended Solution: Resetting Windows Account Credentials
- Force Close Applications: Ensure Excel, Word, Teams, and Outlook are completely closed. Check the system tray or Task Manager to confirm no Office background processes are running.
- Clear Credential Manager: Click the Windows Start menu, type Credential Manager, and open it. Select Windows Credentials. Scroll down and remove any entries that contain "MicrosoftOffice", "OneDrive", or your work email address.
- Disconnect the Account: Press Windows Key + I to open Settings. Navigate to Accounts > Email & accounts (or Access work or school). Find your problematic work or school account, click it, and select Disconnect or Remove.
- Restart Your PC: Reboot Windows 11 to clear any lingering temporary session data.
- Verify MFA Setup: Open a web browser and navigate to https://aka.ms/mfasetup. Log in to confirm your multifactor authentication methods are correct and up to date.
- Sign In Again: Open Excel. When prompted, enter your credentials and approve the MFA request to re-register the device.
Alternative Solutions for Persistent Office Login Issues
- Run the Support and Recovery Assistant: Download the official Microsoft Support and Recovery Assistant (SaRA). Run the tool and select the "Office sign-in" issue to let Microsoft automate the diagnostic and repair process.
- Update Windows and Office: Outdated software can cause security handshake failures. Go to Windows Settings > Windows Update to ensure your OS is current, then open any Office app (if possible offline) and navigate to File > Account > Update Options > Update Now.
- Clear TPM Cache (Advanced): If device registration completely fails, clearing the Trusted Platform Module (TPM) can help. Open Windows Security > Device Security > Security processor details > Security processor troubleshooting > Clear TPM. Note: Back up your data and ensure you know your BitLocker recovery key before attempting this.
Working with WPS Office: A Reliable Offline Alternative
Error 4o6fs is strictly tied to Microsoft's Entra ID and cloud authentication framework. While WPS Office cannot fix Microsoft's account servers, it serves as an excellent, lightweight alternative when you are locked out of your Office apps. WPS Office is fully compatible with Microsoft formats (.xlsx, .docx, .pptx) and allows you to open, edit, and save your local files without forcing a cloud login or multifactor authentication. If you are on a tight deadline and cannot afford to troubleshoot MFA errors, installing WPS Office will let you get back to your spreadsheets immediately.
Prevention Tips for Future Sync Errors
- Sign out of your Office applications properly before changing your work account password.
- Keep your Microsoft Authenticator app updated on your mobile device to prevent token desynchronization.
- Avoid migrating your Windows user profile with third-party tools, as this often breaks secure credential storage.
FAQs About Microsoft 365 MFA Errors
Will removing my work account from Windows Settings delete my files?
No. Removing your work or school account from Windows Settings only severs the authentication link. Your local files, as well as files saved to the cloud, remain completely safe and untouched.
Why does error 4o6fs only happen on Windows 11?
While it can occasionally happen on Windows 10, it is more prominent on Windows 11 due to stricter modern authentication protocols and how the OS handles Azure AD device registration tokens.
I cleared the Credential Manager but the error persists. What next?
If clearing the credentials locally doesn't work, the issue might be on your organization's server side. You will need to contact your IT administrator and ask them to revoke your old device sessions and require re-registration for multifactor authentication.




