How to Share OneDrive Files with Gmail Users Without Microsoft Sign-In
Question details
External users with Gmail accounts are being prompted to sign in to a Microsoft account when attempting to access a file shared via an "Anyone with the link" URL.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Sharing documents with clients or external partners who do not use Microsoft accounts, expecting them to view the files anonymously.
- Observed behavior
- Clicking the sharing link redirects the external user to a Microsoft login page instead of opening the document directly.
Ensure you have administrative access to the Microsoft 365 and SharePoint Admin Centers, as modifying organizational external sharing policies requires admin privileges.
Disable the Guest Sign-In Requirement in SharePoint Admin Center
Modifying organizational sharing policies ensures that anonymous links function correctly without requesting a login from external users.
By default, tenant administrators might have strict security protocols enabled that override standard anonymous link behaviors. Disabling the forced guest sign-in allows "Anyone" links to work properly.
Log in to the Microsoft 365 Admin Center with admin credentials, then navigate to the SharePoint Admin Center from the side menu.
On the left sidebar, click on 'Policies' and then select 'Sharing'.
Scroll down to 'More external sharing settings' and expand the menu. Look for the 'Guest must sign in' option and uncheck it.
Click 'Save' at the bottom of the page. Generate a new 'Anyone with the link' URL and test it in an incognito window.

Enable Anonymous Links in the Microsoft 365 Admin Center
Check individual user settings to ensure external sharing is permitted for their specific OneDrive account.
Review MFA and Conditional Access Policies
Strict Multifactor Authentication (MFA) or Conditional Access policies might override standard sharing configurations.
Experience Hassle-Free File Sharing with WPS Office
If navigating complex Microsoft 365 admin centers and tenant sharing policies is slowing down your workflow, WPS Office offers a straightforward, lightweight, and highly compatible suite. Easily share your files with anyone, anywhere, without restrictive login barriers.
- 1. Download and Install: Get WPS Office from the official website and install it on your device in seconds.
- 2. Open Your Documents: Easily open your existing Microsoft Office files without worrying about formatting issues.
- 3. Share via Link: Click the 'Share' button in the top right corner to generate a direct link that anyone can open.

Frequently Asked Questions
Why does my "Anyone with the link" require a login?
Your organization's SharePoint admin settings or Microsoft Entra ID Conditional Access policies may have overridden the default sharing behavior to enforce guest authentication for security reasons.
Can I share a OneDrive file securely without requiring a Microsoft account?
Yes. If your IT administrator has enabled anonymous external sharing, you can generate an "Anyone with the link" URL. For added security, you can set an expiration date or an access password on the link before sharing it.
Do these policy changes affect previously shared links?
Yes. If an administrator disables anonymous sharing or enforces guest sign-ins at the tenant level, any previously generated "Anyone" links will instantly require external users to log in when they try to access the file.




