Fix External SharePoint Users Repeatedly Asked for Access Code
Question details
External users are continually prompted to enter a new access code when trying to reopen saved links to OneDrive or SharePoint folders.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- External users attempt to reopen previously accessed SharePoint or OneDrive folder links.
- Observed behavior
- The system repeatedly prompts the user for a new one-time passcode instead of granting direct access through their authenticated session.
Ensure the external user is attempting to open the link using the exact same email address that initially received and accepted the SharePoint invitation.
Clear Browser Cache or Use Private Browsing
Bypass conflicting cached browser credentials by opening the invitation link in a clean browsing session.
Often, a browser caches previous Microsoft login credentials that conflict with the shared folder link. Using a private window ensures the authentication starts fresh.
Locate the original SharePoint or OneDrive folder invitation link provided in your email.
Launch a new Incognito window in Google Chrome (Ctrl+Shift+N) or an InPrivate window in Microsoft Edge.
Paste the link into the address bar and log in using the exact account that was invited to the folder.
Add the User as a Guest via Microsoft Entra ID (Azure B2B)
Register the external user as a guest in your organization's directory to eliminate recurring one-time passcode prompts.
Try WPS Office for Seamless Document Collaboration
While dealing with complex SharePoint permissions and access codes can be frustrating, WPS Office offers a lightweight, highly compatible alternative. It allows you to create, edit, and share documents effortlessly without tangled permission barriers.
- 1. Download and Install: Get WPS Office for free from the official website and install it on your device.
- 2. Upload to Cloud: Save your document to WPS Cloud directly from the editor.
- 3. Share Easily: Click the Share button to generate a secure link, allowing anyone to view or edit without needing one-time passcodes.

Frequently Asked Questions
Why do SharePoint external links ask for a verification code?
SharePoint uses a one-time passcode sent to the external user's email to verify their identity. This happens automatically if they do not have a registered Microsoft account or are not configured as a guest in your organization's directory.
How long is a SharePoint access code valid?
By default, a SharePoint or OneDrive one-time access code is valid for 15 minutes. Once used, the access token is stored in the browser, but clearing cookies, changing devices, or using a different browser will trigger a new prompt.
Can external users access SharePoint without a Microsoft account?
Yes, external users can access shared files using the email verification access code method without needing a registered Microsoft account. However, adding them via Azure B2B provides a more stable, password-free experience for long-term collaboration.





