Fix Microsoft 365 Sign-In Window Is Gray and Closes Immediately
Question details
The user is unable to authenticate into Microsoft 365 because the login prompt appears gray and closes on its own, blocking access to Office applications.

- Product
- Microsoft 365
- Device & OS
- not provided
- Scenario
- Attempting to sign in to activate or use Microsoft 365 desktop applications like Word and Excel.
- Observed behavior
- The Microsoft 365 or Office sign-in window displays a blank gray screen and then immediately closes, preventing the user from entering their credentials.
Before attempting to fix the application, open your web browser, navigate to your Microsoft account dashboard, and verify that your Microsoft 365 subscription is currently active.
Restart Device and Launch in Safe Mode
Booting your computer or Office applications in Safe Mode helps determine if background programs or add-ins are causing the login screen to crash.
Often, a conflicting third-party application, antivirus, or corrupted add-in can intercept the authentication window, causing it to render improperly and force-close.
Perform a full restart of your Windows operating system to clear out temporary background processes that might be interfering.
Press and hold the 'Ctrl' key on your keyboard while clicking the Word or Excel shortcut. Confirm that you want to start the application in Safe Mode.
Once the application opens in Safe Mode, navigate to File > Account and try clicking the Sign In button again.
Repair or Reinstall Microsoft Office
Use the built-in Microsoft repair tool to fix corrupted installation files that handle account authentication.
Contact Microsoft Support
Reach out to official support if the problem persists, as community moderators cannot access or fix account-specific backend issues.
Use WPS Office as a Reliable and Free Alternative
If Microsoft 365 login issues and gray screens continue to block your workflow, switch to WPS Office. It provides a lightweight, free, and highly compatible suite for your documents without the hassle of complicated subscription authentications.
- 1. Download the installer: Visit the official WPS Office website and download the free installer for your operating system.
- 2. Install the software: Run the setup file and follow the quick installation wizard. It only takes a few minutes.
- 3. Open your files instantly: Launch WPS Office and directly open your existing Word, Excel, and PowerPoint files to continue working immediately.

Frequently Asked Questions
Why does my Microsoft 365 sign-in window flash and disappear?
This is typically caused by corrupted cached credentials, network interference, or a temporary glitch in the Microsoft authentication service failing to load the modern login interface.
Can I use Microsoft Word offline if the sign-in fails?
If Microsoft 365 loses its activation status due to an extended sign-in failure, the applications may enter a reduced functionality mode where you can only view documents, not edit or save them.
Does the Microsoft Office Online Repair fix login errors?
Yes, the Online Repair tool reinstalls core components of Office and resets critical background services, which can frequently resolve freezing, gray screens, or crashing sign-in prompts.




