How to Fix OneDrive 'Anyone Can Edit' Links Requiring Sign-In
Question details
Users need to share OneDrive files or folders using an 'Anyone can edit' link without forcing the recipient to log in.

- Product
- Microsoft OneDrive / SharePoint
- Device & OS
- not provided
- Scenario
- Sharing files or folders externally using an 'Anyone can edit' link so non-registered users can collaborate.
- Observed behavior
- Recipients are unexpectedly prompted to sign in with a Microsoft account before they can access the shared files, despite the link being set to 'Anyone'.
Ensure you have administrative privileges to access the SharePoint Admin Center, and verify that the recipient is opening the link in an incognito or private browsing window to rule out local browser cache issues.
Adjust SharePoint and Microsoft Entra B2B External Sharing Policies
Administrators must configure SharePoint settings to ensure Entra B2B integration does not override the 'Anyone' link settings by forcing guest authentication.
In enterprise Microsoft 365 environments, global security policies like Microsoft Entra B2B integration can override individual file sharing settings. If this integration is strictly configured, it will demand authentication even for anonymous links.
Log in to the Microsoft 365 admin center with administrator credentials and navigate to the SharePoint admin center.
In the left-hand navigation pane, expand the 'Policies' dropdown menu and click on 'Sharing'.
Ensure the external sharing slider for both SharePoint and OneDrive is set to 'Anyone' (the most permissive setting at the top).
Review the advanced settings for guests under external sharing. Look for the setting that requires users to accept invitations with the same account, and ensure it is not configured to force mandatory sign-ins for 'Anyone' links.

Remove Unsupported Items and Generate a New Link
Sometimes folders contain restricted or unsupported file types that trigger a security prompt, requiring you to clear them and create a fresh sharing link.
Try WPS Office for Seamless Document Collaboration
Avoid complicated admin centers and strict access permission settings. WPS Office provides built-in cloud sharing features that are incredibly simple to use, allowing you to collaborate on documents effortlessly without forcing recipients to sign in.
- 1. Download WPS Office: Install WPS Office for free on your PC, Mac, or mobile device.
- 2. Open Your Document: Launch the application and open the document you wish to share.
- 3. Share via Link: Click the 'Share' button in the top right corner, select 'Create Link', and choose your preferred permission (e.g., Anyone with the link can edit) to share instantly.

Frequently Asked Questions
Why does OneDrive force sign-in for external users when I selected 'Anyone'?
This usually happens because organizational security policies, such as Microsoft Entra B2B integration or restrictive SharePoint Admin center settings, override individual link settings to prevent anonymous access.
Can I bypass the OneDrive sign-in requirement without admin rights?
If the requirement is enforced at the organization level via SharePoint admin center policies, you cannot bypass it as a standard user. You will need to contact your IT administrator to adjust the tenant's sharing policies.
Does the 'Anyone with the link' setting expire in OneDrive?
Yes, administrators can set a mandatory expiration date for 'Anyone' links in the SharePoint admin center. Once expired, the link will no longer work, and a new one must be generated.
Could browser cache be causing the sign-in prompt?
Sometimes a browser might attempt to auto-authenticate using cached Microsoft credentials, causing a conflict or prompt. Always test 'Anyone' links in a private or incognito browsing window to see the true recipient experience.




