Fix Repeated Verification Codes for OneDrive External Sharing
Question details
An external recipient wants to stop receiving a new verification code every time they open a shared OneDrive for Business file.

- 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.
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.
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.
Open the shared link in a regular browser window rather than an InPrivate or incognito window, which may discard session data when closed.
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.
Reopen the Specific people link, enter the verification code sent to the invited email address, and select Keep me signed in when prompted.
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.

Ask the sharing organization to review access policies
Use this when the issue persists after browser checks or occurs across multiple devices and browsers.
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.

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.




