How to Fix Microsoft 365 Repeated Sign-In and Two-Step Verification Prompts
Question details
The user is repeatedly prompted to sign in and complete two-step verification (MFA) when switching between Microsoft 365 web apps or opening files.

- Product
- Microsoft 365
- Device & OS
- not provided
- Scenario
- Accessing files or switching between Microsoft 365 web applications via a web browser.
- Observed behavior
- Microsoft 365 repeatedly requests the user to authenticate and verify their identity via two-step verification, despite already being signed in.
Verify whether the repeated sign-in prompts are happening exclusively in your web browser, as desktop and mobile apps are typically unaffected by web session timeouts.
Clear Browser Cache and Check Cookie Settings
Corrupted browser cache or blocked cookies can prevent Microsoft 365 from recognizing your active session, triggering continuous login prompts.
Idle session timeout policies affect web apps but not Microsoft 365 desktop or mobile applications. When active session cookies are deleted by the browser or third-party cleanup software, Microsoft 365 is forced to verify your identity again.
Launch the web browser you use for Microsoft 365 and click the settings menu (usually represented by three vertical dots or lines in the top right corner).
Navigate to the Privacy and Security section, select the option to clear browsing data, and ensure both 'Cookies and other site data' and 'Cached images and files' are selected.
If you use third-party system optimization or privacy software, adjust their settings to whitelist Microsoft 365 domains so they do not automatically remove active session cookies.
Close your browser completely, reopen it, and navigate back to the Microsoft 365 portal to sign in and complete two-step verification one last time.

Request Admin to Revoke Sessions and Adjust Timeout Policies
If clearing your cache fails, an administrator may need to manually revoke hung active sessions from the server side.
Avoid Cloud Login Hassles with WPS Office
Tired of dealing with strict web session timeouts and repeated two-step verification prompts in Microsoft 365? Switch to WPS Office for a robust desktop experience that doesn't rely on continuous cloud authentication, letting you focus on your work seamlessly.
- 1. Download WPS Office: Visit the official WPS website to download and install the free WPS Office suite.
- 2. Open Your Files Directly: Launch the application and seamlessly open your existing Microsoft Office documents without needing to sign in to a cloud service.
- 3. Edit and Save Locally: Edit your documents and save them in standard formats on your device, completely bypassing mandatory web session verification.

Frequently Asked Questions
Why does Microsoft 365 keep asking me to sign in?
This usually happens due to a combination of your organization's Idle Session Timeout policy, corrupted browser cookies, or third-party cleanup software aggressively deleting your active session cookies in the background.
Does the idle session timeout affect desktop applications?
No, the Microsoft 365 idle session timeout policy only applies to web applications accessed through a browser. Your Microsoft 365 desktop and mobile applications are unaffected and will remain signed in.
How do I stop automatic cookie cleaners from signing me out of Microsoft 365?
You need to open the settings of your system optimization or antivirus software and whitelist Microsoft 365 URLs (such as portal.office.com, sharepoint.com, and login.microsoftonline.com) to prevent the tool from deleting active session cookies.




