MFA Security Issues

Fix Repeated Verification Codes for OneDrive External Sharing

Olivia MillerOlivia Miller Nov 20, 2026 869 views

Question details

An external recipient wants to stop receiving a new verification code every time they open a shared OneDrive for Business file.

Fix Repeated Verification Codes for OneDrive External Sharing
Product
OneDrive for Business
Device & OS
Windows 10 and Microsoft Edge were reported on one device; other browsers were also tested.
Scenario
An external recipient opens a file through a Specific people sharing link and selects Keep me signed in.
Observed behavior
The recipient may be asked for a new verification code on every visit, even after selecting Keep me signed in. The behavior differs between computers.
Before you start

Open the Specific people link in the browser where the repeated prompts occur and confirm that Keep me signed in is selected. Compare the behavior with another browser or computer if one is available.

Solution 1Recommended

Reset browser cookies and sign in again

Use this approach when repeated prompts occur on one computer or browser but not another.

Keep me signed in depends on browser session data. Clearing cookies may help if that data is damaged, but it does not override organizational security policies.

1
Check the browsing mode

Open the shared link in a regular browser window rather than an InPrivate or incognito window, which may discard session data when closed.

2
Clear browsing data

In Microsoft Edge, open Settings > Privacy, search, and services > Clear browsing data. Choose cached files and cookies, then select Clear now. Menu labels may vary by version.

3
Sign in again

Reopen the Specific people link, enter the verification code sent to the invited email address, and select Keep me signed in when prompted.

4
Test the session

Close and reopen the browser, then use the same sharing link again. If a code is still required, check whether the browser clears cookies on exit or a device security policy limits sessions.

Reset browser cookies and sign in again
Clearing cookies signs you out: Clearing all browser cookies can sign you out of other websites. Browser settings may also let you clear data for specific sites instead.
Free Microsoft Office alternative

Work with Shared Office Files in WPS Office

WPS Office is a free, lightweight alternative for opening and editing Office files with a familiar interface, making it easy to move existing documents into your workflow. It does not change OneDrive sharing verification requirements.

Open and edit downloaded shared documents in one office suiteCompatible with Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTXUse a familiar interface for everyday document workGet a free, lightweight alternative to Microsoft Office
microsoft office alternative - wps office

Frequently Asked Questions

Why does OneDrive ask for a code even though I selected Keep me signed in?

The browser may not retain the session data needed to remember your sign-in, or an organizational security policy may require another verification. Check cookie settings and test the link in a regular browser window.

Will clearing cookies stop the verification prompts?

It may help when the issue is limited to one browser or computer, but it is not guaranteed. After clearing cookies in your browser settings, reopen the sharing link, enter the code, and select Keep me signed in again.

Can the file owner turn off verification for a Specific people link?

A Specific people link restricts access to named recipients, so verification may be necessary. The owner can ask their Microsoft 365 administrator to review sharing and sign-in policies, but should not assume verification can be disabled.

Why does the same link behave differently on two computers?

The computers may have different browser cookie settings, browsing modes, extensions, or security policies. Compare their settings and check whether either browser clears cookies when it closes.