Fix OneDrive Shared Folder Suddenly Requiring Sign-In
Question details
Users attempting to access a shared folder are unexpectedly prompted to sign in with a Microsoft account, preventing anonymous downloads.

- Product
- OneDrive
- Device & OS
- not provided
- Scenario
- Sharing a folder with external customers for anonymous software distribution.
- Observed behavior
- Customers receive a mandatory sign-in prompt instead of being able to directly access and download the shared files without authentication.
Verify whether the OneDrive account used to share the folder is a personal account or a Microsoft 365 Work/School account, as organizational sharing policies dictating anonymous access may have changed.
Generate a New 'Anyone' Sharing Link
Recreating the share link ensures the correct anonymous permissions are actively applied, bypassing any potential glitches with the old URL.
Sometimes backend updates or permission syncing issues can cause a previously public link to default back to requiring authentication. Creating a fresh link specifically set to allow anyone can resolve this immediately.
Locate the affected folder in your OneDrive, right-click it, and select 'Manage access' or click the 'Share' icon.
Click the gear icon or the current sharing permission text to open the 'Link settings' menu.
Choose the 'Anyone with the link' option to enable anonymous access without requiring a Microsoft account sign-in.
Click 'Apply', copy the newly generated link, and provide it to your customers.

Test Access Using Private Browsing Mode
Browser cache issues or conflicting saved Microsoft credentials can trigger unnecessary sign-in prompts for viewers.
Review IT Administrator Sharing Policies
For Work or School accounts, backend security policy updates within the organization can revoke existing anonymous links.
Share Documents Effortlessly with WPS Office
If OneDrive's sharing restrictions and mandatory sign-ins are disrupting your software distribution workflow, WPS Office offers a highly compatible, free alternative. Enjoy familiar interfaces and hassle-free cloud sharing without placing authentication burdens on your customers.
- 1. Install WPS Office: Download and install the free WPS Office suite on your computer or mobile device.
- 2. Save to WPS Cloud: Open the file you wish to distribute and save it directly to the integrated WPS Cloud.
- 3. Generate a Public Link: Click the 'Share' button in the upper right corner to create a hassle-free, accessible link for your customers.

Frequently Asked Questions
Why is 'Anyone with the link' grayed out when sharing a OneDrive folder?
This commonly occurs in Work or School accounts when the organization's IT administrator has restricted external file sharing for security reasons. The administrator must update the sharing policies in the SharePoint Admin Center to allow unauthenticated, anonymous links.
Do my customers need a Microsoft account to view a shared OneDrive folder?
Not necessarily. If the folder is shared using the 'Anyone with the link' permission, viewers do not need a Microsoft account. However, if the permission was set to 'Specific people' or if organizational policies enforce it, a sign-in will be required.
Can OneDrive anonymous sharing links expire?
Yes. While you can create anonymous links without an expiration, IT administrators can configure policies in Microsoft 365 that enforce a mandatory expiration period (e.g., 30 days) for all external sharing links, after which a new link must be generated.




