Permission & Access Issues

Fix OneDrive Shared Links Asking for Login on Mobile Phones

Ayan MasoodAyan Masood Nov 3, 2026 870 views

Question details

Users are being prompted to log in when attempting to open OneDrive shared links via QR codes on certain mobile phones, despite permissions being configured for anonymous access.

Fix OneDrive Shared Links Asking for Login on Mobile Phones
Product
OneDrive
Device & OS
Mobile (iOS/Android)
Scenario
Accessing a shared file via a QR code or web link on a mobile device without a Microsoft account.
Observed behavior
The mobile browser or app interrupts the viewing process and requests Microsoft account login credentials instead of opening the file directly.
Before you start

Verify that your OneDrive account is active and that your organization's IT policies allow anonymous external sharing, as enterprise settings can sometimes override individual link permissions.

Solution 1Recommended

Verify Sharing Permissions and Test Alternative Browsers

Ensure the sharing link is explicitly configured for anonymous access and test if the issue is isolated to a specific mobile browser.

Mobile browsers handle redirects and cached data differently, which can sometimes cause a public link to incorrectly trigger a login prompt. Regenerating the link and testing in a private browsing environment often resolves this.

1
Check link permissions

Open OneDrive, select the file you want to share, and click the 'Share' button. Click on the gear icon or permission settings and ensure 'Anyone with the link' is selected.

2
Re-generate the sharing link

Delete the old sharing link and generate a brand new one. If you are using a QR code, create a fresh QR code using the newly generated URL.

3
Test in a private browser

On the affected mobile phone, copy the link and paste it into an Incognito (Chrome) or Private (Safari) tab to bypass any cached account login loops.

Verify Sharing Permissions and Test Alternative Browsers
Permission verification: If the file opens successfully in a private tab, the issue is related to the mobile browser's cache rather than the OneDrive link itself.
Free Microsoft Office alternative

Share Files Seamlessly with WPS Office

If OneDrive links continue to cause frustrating login loops for your mobile recipients, consider switching to WPS Office. WPS provides a highly compatible, lightweight, and completely free alternative to Microsoft Office, complete with its own robust cloud storage. You can easily generate sharing links that open instantly on any mobile device without forcing recipients to log in.

  1. 1. Download WPS Office: Install the free WPS Office suite on your desktop or mobile device.
  2. 2. Upload to WPS Cloud: Open your Microsoft Office documents in WPS and save them to the built-in WPS Cloud.
  3. 3. Create a sharing link: Click 'Share', select 'Anyone with the link can view', and send the URL to your recipients hassle-free.
Fully compatible with Microsoft Word, Excel, and PowerPoint file formats.Generate reliable sharing links that open seamlessly on mobile browsers.Lightweight mobile app for fast and easy document viewing on iOS and Android.Free built-in cloud storage to sync, manage, and share your files anywhere.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my 'Anyone with the link' OneDrive file still require a login?

This usually happens due to cached browser data on the mobile device, restrictive enterprise sharing policies set by an administrator, or a glitch in how the OneDrive mobile app intercepts the link. Generating a new link or using a private browsing tab often bypasses this.

Does the recipient need a Microsoft account to view a shared OneDrive file?

No. If the sharing permission is properly set to 'Anyone with the link', the recipient does not need a Microsoft account to view or download the file.

How do I create a QR code for a shared cloud document?

First, configure your document to be accessible by anyone with the link. Copy that specific URL, paste it into any free online QR code generator, and download the resulting image to share with others.

Can I prevent people from downloading my shared OneDrive file?

Yes. When setting up the 'Anyone with the link' permission, you can click on the link settings and toggle on the 'Block download' option before copying the link.