Fix SharePoint Anyone Link Redirects to Microsoft Sign-In
Question details
Recipients using a SharePoint 'Anyone with the link' share URL are being prompted to sign in with a Microsoft account instead of accessing the document directly.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- Sharing a PDF or other document with external users using the 'Anyone with the link' permission level.
- Observed behavior
- When the external user clicks the shared link, they are redirected to a Microsoft login screen instead of bypassing authentication as expected.
Verify that you have actually selected the 'Anyone with the link' option when generating the URL, and ensure you have sufficient site permissions to share files externally.
Test the Link in an Incognito Window
Use a private browsing window to rule out issues caused by cached Microsoft 365 credentials in your browser.
Sometimes a browser's cached credentials can interfere with how a SharePoint link routes a user, mistakenly prompting a login. Testing in an incognito window simulates a true external user experience.
Locate the file in SharePoint, click the 'Share' button, ensure the permission is set to 'Anyone with the link can view', and click 'Copy link'.
Launch an Incognito (Chrome), InPrivate (Edge), or Private (Safari/Firefox) browsing window.
Paste the copied link into the address bar and press Enter to see if the document opens without a Microsoft sign-in prompt.

Check Organization Tenant Sharing Restrictions
Determine if your organization's Microsoft 365 administrator has disabled external or anonymous sharing.
Use WPS Office for Hassle-Free Document Sharing
If strict Microsoft SharePoint policies prevent you from easily sharing PDFs and documents with external clients, WPS Office offers a lightweight, powerful alternative. With WPS Cloud, you can generate universally accessible sharing links in seconds without dealing with complex tenant permissions.
- 1. Download and install: Visit the WPS Office website and install the free software on your computer or mobile device.
- 2. Open your document: Launch WPS Office and open the Word, Excel, PowerPoint, or PDF file you want to share.
- 3. Share via WPS Cloud: Click the 'Share' button in the top right corner to instantly generate a secure, accessible link for anyone.

Frequently Asked Questions
Why is the 'Anyone with the link' option grayed out in SharePoint?
This option is grayed out when your organization's Microsoft 365 administrator has disabled anonymous external sharing at the tenant or site level for security reasons. You will need admin approval to enable it.
Does an 'Anyone' link expire automatically in SharePoint?
Yes, it can. IT administrators can enforce a mandatory expiration limit (e.g., 30 days) for all 'Anyone' links in the SharePoint Admin Center. Once expired, the link will no longer provide access.
Can external users edit documents using an 'Anyone' link?
Yes, if the link is specifically configured with 'Allow editing' checked during its creation, external users can edit the document without needing to sign in to a Microsoft account.




