Sign-in & Login Problems

Fix Microsoft 365 Sign-In Window Is Gray and Closes Immediately

John WilsonJohn Wilson Oct 26, 2026 868 views

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.

How to Fix Microsoft 365 Sign-In Window Is Gray and Closes
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 you start

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.

Solution 1Recommended

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.

1
Restart your computer

Perform a full restart of your Windows operating system to clear out temporary background processes that might be interfering.

2
Open Office in Safe Mode

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.

3
Attempt to sign in

Once the application opens in Safe Mode, navigate to File > Account and try clicking the Sign In button again.

Safe Mode limitations: If the sign-in window works in Safe Mode, the issue is likely caused by an installed add-in. You will need to disable your add-ins one by one to find the culprit.
Free Microsoft Office alternative

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. 1. Download the installer: Visit the official WPS Office website and download the free installer for your operating system.
  2. 2. Install the software: Run the setup file and follow the quick installation wizard. It only takes a few minutes.
  3. 3. Open your files instantly: Launch WPS Office and directly open your existing Word, Excel, and PowerPoint files to continue working immediately.
Fully compatible with Microsoft Office formats (.docx, .xlsx, .pptx).Free to use without mandatory subscription sign-ins blocking your access.Lightweight design that installs quickly and resolves common lag issues.Familiar user interface ensuring a seamless migration.
QA img-9

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.