Fix OneDrive Sign-In Prompt for Anyone Sharing Links
Question details
External recipients are asked to sign in when accessing a OneDrive sharing link that should allow anonymous access.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Sharing files or folders externally using an 'Anyone with the link' permission without requiring recipients to have a Microsoft account.
- Observed behavior
- A sign-in prompt appears in the browser or on mobile devices despite the link being configured for anyone to view.
Verify that your organization's Microsoft 365 external sharing settings actually permit anonymous links, as default admin policies often restrict sharing to internal users only.
Verify Link Permissions and Test in a Private Window
Confirm the sharing link is correctly set to 'Anyone' and use an incognito session to ensure cached browser credentials are not triggering the prompt.
Sometimes a browser caches old Microsoft login sessions or the link was accidentally generated with restrictive permissions. Testing outside your standard environment helps isolate the cause.
In OneDrive, right-click the file you want to share, select 'Share', click the gear icon (Settings), and ensure 'Anyone' is selected under the sharing options.
Click 'Apply' and then 'Copy link' to generate a fresh sharing URL with the correct permissions.
Open an Incognito window in Chrome (Ctrl+Shift+N) or an InPrivate window in Edge (Ctrl+Shift+N) to bypass stored login tokens.
Paste the newly generated link into the address bar. Verify if the file opens without prompting for a Microsoft account sign-in.
Try sharing a different format, such as a simple TXT or PDF file, to determine if the sign-in issue is specific to the original file type.

Escalate to Microsoft 365 Admin Support
If the sign-in prompt persists despite using an 'Anyone' link, the issue requires a review of tenant-level service logs by Microsoft support.
Share Documents Easily with WPS Office
Avoid complicated sharing permissions and frustrating sign-in errors. WPS Office offers a highly compatible, free alternative to Microsoft Office, complete with seamless file sharing via public links and intuitive cloud collaboration.
- 1. Download WPS Office: Download and install the free WPS Office suite on your computer or mobile device.
- 2. Open and Share: Open your document and click the 'Share' button located in the top right corner of the workspace.
- 3. Create a Public Link: Select 'Anyone with the link' to generate a URL that lets external recipients view or edit the file instantly, with zero sign-in required.

Frequently Asked Questions
Why does OneDrive force external users to sign in?
This usually happens if the sharing link was generated using 'Specific people' or 'People in your organization' settings instead of 'Anyone'. It can also occur due to browser caching issues or strict tenant-level security policies enforced by your organization's IT admin.
Can I remove the sign-in requirement for a shared OneDrive folder?
Yes, provided your organization allows anonymous sharing. Select the folder, click 'Share', click the settings gear icon, and select 'Anyone with the link'. This grants access without requiring a Microsoft account.
What if 'Anyone with the link' is grayed out in my OneDrive settings?
If the 'Anyone' option is disabled or grayed out, your Microsoft 365 administrator has restricted external sharing at the organizational level. You will need to contact your IT department to request permission to share files anonymously.
Do recipients need a Microsoft account to view an 'Anyone' link?
No, an 'Anyone with the link' URL is specifically designed for anonymous access. If recipients see a prompt, asking them to open the link in a private browsing window (Incognito/InPrivate) usually bypasses the issue.




