You are trying to upload a file to OneDrive for Business using Safari or Chrome on your iPhone or iPad, but the upload fails only in that one browser. This problem usually occurs because of browser cache corruption, disabled third-party cookies, or a restrictive content blocker. This article explains the root cause and provides step-by-step fixes to restore web upload functionality in your preferred iOS browser.
Key Takeaways: Fixing OneDrive Web Upload Failures on iOS
- Settings > Safari > Advanced > Experimental Features: Disable experimental WebKit flags that break OneDrive uploads.
- Settings > Safari > Clear History and Website Data: Clears cached credentials and corrupted site data for OneDrive.
- Settings > Safari > Prevent Cross-Site Tracking: Toggle off to allow OneDrive authentication cookies to persist.
Why OneDrive Web Upload Fails in One iOS Browser
OneDrive for Business uses a web-based upload engine that relies on browser cookies, local storage, and JavaScript APIs to authenticate and transfer files. When a specific browser on iOS cannot complete these steps, the upload process stops or returns an error. The root cause is almost always a combination of three factors.
First, iOS browsers are required to use Apple’s WebKit engine. This means Safari, Chrome, and Firefox on iOS share the same underlying rendering technology. However, each browser maintains its own cache, cookie store, and content blocker settings. If you clear data in one browser but not the other, the affected browser may retain corrupted tokens or stale scripts that prevent file uploads.
Second, Apple’s Intelligent Tracking Prevention feature blocks third-party cookies by default. OneDrive for Business uses cookies during the authentication handshake. If the browser blocks these cookies, the upload session cannot be established. The problem appears only in the browser where tracking prevention is active.
Third, content blockers installed from the App Store can interfere with the JavaScript that OneDrive uses to display the upload dialog and track progress. A blocker that works correctly on desktop may still strip necessary scripts on iOS, causing the upload button to appear but the actual transfer to fail silently.
Steps to Fix OneDrive Web Upload in a Single iOS Browser
Perform these steps in the browser where upload fails. If the problem persists after each step, move to the next one.
- Clear browser history and website data
Open the Settings app on your iPhone or iPad. Scroll to the browser name, for example Safari or Chrome. Tap Clear History and Website Data. Confirm the action. This removes cached OneDrive scripts and corrupted authentication tokens. After clearing, restart the browser and try uploading again. - Disable content blockers for the OneDrive site
In Safari, tap the aA icon in the address bar. Tap Turn Off Content Blockers. For Chrome, open Settings > Content Blockers and toggle off all blockers. Reload the OneDrive page and test the upload. - Turn off Prevent Cross-Site Tracking
In Settings > Safari, toggle Prevent Cross-Site Tracking to off. This setting is enabled by default and blocks the cookies OneDrive needs for authentication. After changing this, close Safari completely by swiping it away from the app switcher. Reopen Safari and sign in to OneDrive again. Test the upload. - Disable experimental WebKit features
In Settings > Safari > Advanced > Experimental Features, turn off all toggles. Some experimental flags, especially those related to storage partitioning or JavaScript JIT, can break OneDrive uploads. After disabling, force-close Safari and try again. - Reset browser settings to default
In Settings > Safari, scroll to the bottom and tap Advanced > Website Data > Remove All Website Data. Then go back to Safari settings and tap Clear History and Website Data again. For Chrome, go to Settings > Privacy > Clear Browsing Data and select Cached Images and Files, Cookies and Site Data, and Hosted App Data. Tap Clear Browsing Data. - Use the OneDrive app instead of the web browser
Download the official Microsoft OneDrive app from the App Store. Sign in with your work or school account. The app uses native iOS upload APIs and bypasses all browser-related issues. This is the recommended method for uploading large files or multiple files on iOS.
If OneDrive Upload Still Fails After the Main Fix
Upload fails in all browsers on the same iOS device
If the upload fails in Safari, Chrome, and Firefox after applying the fixes above, the problem is not browser-specific. Check your network connection. Switch from Wi-Fi to cellular data or vice versa. Corporate networks with strict firewall rules can block the upload ports used by OneDrive. Contact your IT administrator and ask them to verify that the following endpoints are reachable from your device: onedrive.com, login.microsoftonline.com, and graph.microsoft.com.
Upload starts but never completes
A partial upload that hangs at a specific percentage usually indicates a file size or type restriction. In OneDrive for Business, the maximum file size for web upload is 250 GB. However, some tenant administrators set a lower limit. If the file is larger than 15 GB, use the OneDrive desktop app or the mobile app instead of the web browser. Also check that the file name does not contain characters that are not allowed by OneDrive, such as ~ # % & : < > ? / \ { | }.
Upload button is grayed out or missing
If the Upload button does not appear or is unresponsive, the browser may be running in a restricted mode. In Safari, check if the page is loaded in Reader View. Tap the aA icon and select Hide Reader View. In Chrome, ensure the desktop site is not enabled by mistake. Tap the three-dot menu and uncheck Request Desktop Website. Reload the page.
OneDrive Web Upload vs Mobile App Upload on iOS
| Item | Web Browser Upload | OneDrive Mobile App Upload |
|---|---|---|
| File size limit | 250 GB (subject to tenant policy) | 250 GB (subject to tenant policy) |
| Maximum files per upload | 100 files | No limit |
| Background upload support | No; browser must remain open | Yes; continues in background |
| Affected by browser cache | Yes | No |
| Affected by content blockers | Yes | No |
| Requires sign-in each session | Yes | No; app stores credentials securely |
The mobile app provides a more reliable upload experience on iOS because it does not depend on browser state or third-party cookie settings. For users who must use the web browser, the steps above resolve the vast majority of single-browser upload failures.
You can now identify the specific browser setting that was blocking your OneDrive upload and apply the correct fix. If the problem recurs in the future, start by clearing the browser’s history and website data for the OneDrive site. For a permanent workaround, install the OneDrive mobile app and use it for all file uploads. An advanced tip is to create a browser bookmarklet that runs javascript:localStorage.clear();sessionStorage.clear(); on the OneDrive page to clear storage without losing other browsing data.