Fix SharePoint Online Keeps Refreshing and Repeatedly Requests Sign-In
Question details
Users experience a continuous refresh loop where SharePoint Online repeatedly prompts for sign-in when accessed via the Microsoft 365 portal.

- Product
- SharePoint Online
- Device & OS
- Windows, Chromebook
- Scenario
- Accessing the SharePoint Online home page from a web browser via the Microsoft 365 portal.
- Observed behavior
- The browser page refreshes every few seconds and traps the user in a continuous sign-in loop. The issue affects multiple browsers, including Chrome, Edge, and Firefox, often isolating itself to the main SharePoint home page.
Ensure your web browser is updated to the latest version and verify that your internet connection is stable before making changes to your site privacy and cookie configurations.
Allow Microsoft and SharePoint URLs in Browser Cookie Settings
Adjusting browser privacy settings to allow third-party cookies for Microsoft domains often resolves authentication loops.
Modern web browsers often block third-party cookies by default to protect privacy. However, SharePoint Online relies on specific Microsoft authentication domains to verify your active session. Blocking these cookies can trigger an endless refresh and sign-in loop.
In Google Chrome or Microsoft Edge, click the three-dot menu in the upper right corner and select 'Settings'. Navigate to 'Privacy and security', then select 'Cookies and other site data'.
Scroll down to the 'Sites that can always use cookies' section and click the 'Add' button.
In the prompt, make sure to check the box that says 'Include third-party cookies on this site'.
Add your specific SharePoint URL (e.g., yourdomain.sharepoint.com), as well as '[*.]microsoft.com' and '[*.]microsoftonline.com'.
Close your browser completely, reopen it, and attempt to access the SharePoint Online portal again.

Create a Support Ticket in the Microsoft 365 Admin Center
If the login loop persists after configuring cookies and is isolated to the SharePoint home page, backend administrative support is required.
Experience Seamless Document Collaboration with WPS Office
If you are frustrated by complex sign-in issues and browser loops in SharePoint, consider switching to WPS Office. It provides a lightweight, free alternative to Microsoft Office, featuring built-in cloud sync, real-time collaboration, and excellent offline capabilities—allowing you to work on your files without endless authentication errors.
- 1. Download WPS Office: Visit the official WPS website to download the free installation package for your operating system.
- 2. Install and Launch: Run the installer and follow the quick setup guide. Once installed, launch the WPS Office application.
- 3. Collaborate Instantly: Sign in to your free WPS account to access cloud storage, upload your existing Office documents, and easily invite others to co-edit without dealing with browser cookie restrictions.

Frequently Asked Questions
Why does SharePoint keep refreshing and asking me to sign in?
This continuous loop is usually caused by your web browser's privacy settings blocking essential third-party cookies from Microsoft authentication domains. Without these cookies, the site cannot verify your active session, forcing it to reload the sign-in page.
Which domains do I need to allow in my browser cookies for SharePoint?
To ensure proper sign-in behavior, you should add your specific SharePoint site URL, '[*.]microsoft.com', and '[*.]microsoftonline.com' to your browser's allowed cookies list, ensuring third-party cookies are permitted for these sites.
What if changing cookie settings doesn't fix the SharePoint login loop?
If allowing cookies doesn't resolve the issue and it only happens to specific users on the main SharePoint home page, there may be a backend account routing issue. You should have your IT admin submit a support ticket via the Microsoft 365 Admin Center with relevant network logs.
Does this sign-in loop affect all SharePoint subsites?
Often, this specific continuous refresh bug only affects the main SharePoint Online home page (sharepoint.aspx). Direct links to your subsites or specific document libraries may still load normally without triggering the loop.




