Why OneDrive Requires Sign-In for Shared Files & How to Fix It
Question details
Recipients of shared OneDrive links are unexpectedly prompted to sign in with a Microsoft account, even when the link is explicitly set to 'Anyone with the link'.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Sharing files or folders externally using OneDrive link sharing so that recipients can access them anonymously.
- Observed behavior
- The recipient is forced to authenticate and sign in to view or download the shared content, preventing unrestricted access.
Ensure you have owner privileges for the files you are trying to share, and verify if you are using a personal account or a business account, as enterprise accounts may have strict sharing policies enforced by IT administrators.
Share Individual Files Instead of Entire Folders
OneDrive's security design often forces sign-ins for shared folders to prevent bulk unauthorized access, even if individual files within the folder allow anonymous access.
While OneDrive provides an 'Anyone with the link' option, Microsoft implements stricter authentication protocols for folders. If you share a folder, recipients might be prompted to log in. To bypass this, generate sharing links for the specific files instead.
Log into your OneDrive account through your web browser and navigate to the folder containing the items you want to share.
Instead of selecting the folder itself, open the folder and check the circles next to the individual files you wish to share.
Click the 'Share' icon at the top of the screen. Click on the link settings (often showing 'People in your organization' or 'Specific people') and change it to 'Anyone with the link'.
Click 'Apply', then click 'Copy link'. Send this generated link to your recipients for anonymous access.

Modify Organizational Sharing Policies (Admins Only)
If you are using OneDrive for Business, your organization's Microsoft 365 administrators might have globally restricted anonymous sharing.
Experience Hassle-Free File Sharing with WPS Office
If OneDrive's restrictive sharing policies are slowing down your workflow, WPS Office offers a powerful, lightweight, and free alternative. With integrated WPS Cloud, you can easily share documents with external clients and partners without forcing them to create accounts or sign in.
- 1. Open Your Document: Launch WPS Office and open the document, spreadsheet, or presentation you wish to share.
- 2. Click Share: Click the 'Share' button located in the top-right corner of the application interface.
- 3. Create a Public Link: Select 'Anyone with the link' and choose whether they can view or edit, then copy the link to share freely with anyone.

Frequently Asked Questions
Can I completely disable the sign-in requirement for all OneDrive folder shares?
No, Microsoft's security architecture frequently requires authentication for shared folders to prevent unauthorized bulk downloads and indexing. Sharing individual files is the most reliable workaround to ensure anonymous access.
Why does an 'Anyone with the link' file ask for a password?
If you specifically configured a password when generating the 'Anyone' link in OneDrive, recipients must enter that exact password to access the file. This is an intentional security feature and is different from a Microsoft account sign-in prompt.
Does this sign-in requirement affect both personal and business OneDrive accounts?
Yes, both types of accounts can experience this. However, business accounts (OneDrive for Business) are also subject to organizational compliance policies which may strictly block or restrict anonymous 'Anyone' links altogether.




