How to Stop Repeated Verification Codes for Shared OneDrive Folders
Question details
The user is prompted to enter a Microsoft verification code every single time they attempt to open a shared OneDrive folder using their work email address.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Accessing a OneDrive folder that has been shared by an external organization or colleague.
- Observed behavior
- Instead of remembering the user's authenticated state, OneDrive repeatedly sends and requires a new email verification code for access.
Confirm that your web browser is not set to automatically clear cookies upon exit, and ensure you are not opening the shared link in a Private or Incognito window.
Ask the Owner to Reshare Using a "Specific People" Link
The most effective way to resolve persistent verification prompts is to have the folder owner stop sharing the current link and generate a new invitation targeted specifically at your email address.
Sometimes, standard sharing links encounter authentication glitches when tracking guest users, especially if organizational domains have recently migrated to OneDrive. Resharing specifically targets your account and resets the secure access token.
Reach out to the owner of the shared OneDrive folder and ask them to navigate to their OneDrive directory online.
Instruct the owner to select the shared folder, click the 'Manage Access' option in the right-hand pane, and remove your current permissions by clicking 'Stop sharing'.
Ask the owner to click 'Share' again, click the gear icon to open Link settings, and select the 'Specific people' option before applying.
Have them enter your work email address and send the new invitation. Open the newly received link and verify your identity once.

Manage and Edit Your Cloud Files Seamlessly with WPS Office
While dealing with Microsoft's strict sharing verification codes can be frustrating, switching your daily document editing to WPS Office can streamline your workflow. WPS Office is a free, lightweight suite that seamlessly integrates with various cloud drives, allowing you to edit documents without the hassle.

Frequently Asked Questions
Why does OneDrive keep asking for a verification code?
OneDrive asks for verification codes for external users accessing files via a secure link to verify the person still owns the email address. If your browser cookies are cleared, or if the host's IT policies require session timeouts, the prompt will appear repeatedly.
Can I bypass the OneDrive verification code if I create a Microsoft account?
Yes. If you create a free Microsoft account using the exact same work email address the folder was shared with, you can often log in directly using your password instead of relying on one-time email verification codes.
Does clearing my browser cache affect OneDrive secure links?
Yes. If you clear your browser cookies or use Incognito/Private browsing mode, OneDrive will not recognize your previous authenticated session and will require a new verification code to grant access.
What if the new "Specific people" link still asks for codes every time?
If resharing the folder does not resolve the issue, the host organization's IT department has likely configured a strict Azure Active Directory policy that forces re-authentication for all external guest users on every visit. You will need to contact their IT admin to see if an exception can be made.




