Fix OneDrive Shared Link Requiring Sign-In (Anyone with the Link)
Question details
Recipients are being asked to log into a Microsoft account when opening a OneDrive shared link, despite the link being configured for anonymous access without sign-in requirements.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Sharing documents or folders with external clients or colleagues using an anonymous, open-access link.
- Observed behavior
- The recipient encounters a Microsoft login prompt blocking access to the files, effectively preventing anonymous viewing or editing.
Before altering organization settings, ask the affected recipient to open the shared link in an incognito or private browsing window to rule out conflicts caused by cached credentials or active browser sessions.
Recreate the Anonymous Sharing Link
Use this solution to ensure that recent file additions or temporary synchronization glitches haven't corrupted the sharing permissions of the current link.
Sometimes, updating the contents of a shared folder or experiencing a sync interruption can reset link properties. Deleting the problematic link and generating a fresh one is the fastest way to restore anonymous access.
Open OneDrive online or in your file explorer, right-click the problematic file or folder, and select 'Manage Access'.
Find the active 'Anyone with the link' URL under the Links tab and click the trash can icon to delete it completely.
Click 'Share', open the link settings, select 'Anyone with the link', ensure 'No sign-in required' is active, and click 'Apply'. Copy and distribute this new link.

Verify Organization External Sharing Policies
Use this solution if no anonymous links work for anyone, which typically points to administrative restrictions.
Troubleshoot Recipient-Side Account Conflicts
Use this solution if only one or a few users out of a larger group are being prompted to sign in.
Experience Hassle-Free Document Sharing with WPS Office
If strict Microsoft OneDrive policies are making it difficult to share files externally, consider switching to WPS Office. It provides a lightweight, highly compatible alternative with its own seamless cloud storage and easy link sharing.
- 1. Open your document: Launch WPS Office and open the document, spreadsheet, or presentation you wish to share.
- 2. Click the Share button: Click the 'Share' button located in the top right corner of the WPS interface.
- 3. Create a public link: Select 'Anyone with the link can view/edit' to generate a hassle-free sharing link that requires no external sign-in.

Frequently Asked Questions
Why does adding new files to a shared OneDrive folder break the anonymous link?
Adding new files can sometimes trigger synchronization errors or apply new sensitivity labels inherited from the files being added. This can override the folder's initial permissions and revert it to requiring authentication. Recreating the link usually resolves this.
Can I check my organization's OneDrive external sharing policies myself?
Only users with Microsoft 365 administrator privileges can view and modify organization-wide external sharing and guest access policies in the Admin Center. Standard users will need to contact their IT department.
Why does the link work for most people but prompts one specific user to log in?
This is almost always a recipient-side issue. It happens when the user's browser attempts to automatically authenticate using a cached Microsoft account that lacks permission, or when their corporate network blocks anonymous SharePoint/OneDrive traffic.




