Skip to content
4 min fix 3 min read Recently reviewedBeginner
Quick Answer

Open an Incognito or InPrivate window in your browser, paste the shared SharePoint link into the address bar, and sign in again to bypass the cached login loop.

How to Fix Guest Access "MFA Loops" in SharePoint

Estimated Time to Fix: 4 minutes

Applies to: SharePoint Online, OneDrive for Business
Article Type: Troubleshooting
Last Updated: 2026-07-20

Summary

When an external company shares a secure SharePoint document with you, you often have to enter a verification code to prove your identity. Sometimes, a bug occurs where entering the code loops you back to the login screen forever. This article explains how to break that loop.

Symptoms

  • You click a link to a shared SharePoint or OneDrive file.
  • You enter your email address and click "Send Code".
  • You type in the 8-digit verification code you received in your email.
  • Instead of showing the document, the page refreshes and asks for your email address again.

Prerequisites

  • You must have the original email invitation containing the link to the document.

Instructions

The most common cause of the MFA loop is that your browser is confused between your own company's Microsoft 365 login and the external company's login.

  1. Open your web browser (Chrome, Edge, or Safari).
  2. Press Ctrl + Shift + N (Chrome) or Ctrl + Shift + N (Edge) to open a private browsing window. On a Mac, use Command + Shift + N.
  3. Go back to your email, right-click the link to the shared document, and select Copy link.
  4. Paste the link into the private browsing window and press Enter.
  5. Enter your email and the new verification code. Because the private window has no conflicting cookies, it usually works on the first try.

2. Clear Your Browser's "Microsoft" Cookies

If you don't want to use an Incognito window every time, you need to clear the corrupted cookies from your browser.

  1. In Google Chrome or Microsoft Edge, click the padlock icon (or the settings icon) in the address bar next to the URL.
  2. Select Cookies and site data > Manage on-device site data (this phrasing varies slightly by browser).
  3. Click the trash can icon next to any cookies labeled microsoft.com, sharepoint.com, or live.com.
  4. Close all tabs, reopen your browser, and click the document link again.

3. Have the Sender Re-Share as "Specific People"

If the private window does not work, the link itself may be corrupted or securely locked to a different email alias.

  1. Contact the person who shared the document with you.
  2. Ask them to completely delete the old sharing link.
  3. Have them create a brand new link, ensuring they select Specific people in the sharing settings, and type your exact email address.

Troubleshooting

DANGER

Do not forward a secure SharePoint link to a colleague. Secure links are tied directly to the email address they were sent to. If your colleague tries to open your link, it will often trigger this exact MFA loop.

Symptom / ErrorPotential CauseSolution
"You need permission to access this site"Wrong email aliasYou are logged in as john.doe@ but the link was sent to jdoe@. Use an Incognito window to force the correct login.
Code never arrives in your emailSpam filterCheck your Junk Mail folder. If it's not there, your company's firewall may be blocking external Microsoft notifications.