logo
search
OneDrive File Issues

How to Fix OneDrive Upload Failed and Sign-In Problems on Mac

Maira MehtabMaira Mehtab Sep 28, 2026 868 views

Question details

The user is experiencing recurring OneDrive upload failures, OneNote connection errors, sign-in problems, and web download issues across multiple Macs and Microsoft accounts.

Product
Microsoft OneDrive
Device & OS
Mac
Scenario
Attempting to sync files to OneDrive or sign in to Microsoft services on a Mac computer.
Observed behavior
OneDrive uploads repeatedly fail and sign-in issues persist, even after attempting temporary workarounds like switching networks, changing DNS settings, and clearing Keychain credentials.
Before you start

Ensure your Mac is connected to a stable internet network and verify the Microsoft 365 Service Status page online to rule out any widespread server outages before proceeding.

Solution 1Recommended

Flush the Mac DNS Cache

Clearing the local DNS cache can resolve persistent network routing issues that block OneDrive from communicating with Microsoft servers.

If changing networks or DNS settings temporarily resolves the problem, the local DNS cache on your Mac might be corrupted. Flushing it forces your system to fetch fresh DNS records.

1
Open Terminal

Navigate to Applications > Utilities on your Mac and launch the Terminal application.

2
Execute Flush Command

Type 'sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder' into the Terminal window and press Enter.

3
Enter Administrator Password

When prompted, type your Mac administrator password (characters will not appear as you type) and press Enter.

4
Restart Mac and Test

Reboot your Mac, open OneDrive, and attempt to sign in and upload your files again.

Terminal Executed: A successful DNS flush will not display a confirmation message; the command prompt will simply appear on a new line.
Free Microsoft Office alternative

Experience Seamless File Syncing with WPS Office

Tired of troubleshooting OneDrive upload failures and sync issues on your Mac? Switch to WPS Office. It provides stable, built-in cloud storage (WPS Cloud) to keep your files secure and accessible, completely bypassing third-party syncing errors.

  1. 1. Download and Install: Download WPS Office for Mac from the official website and install the application.
  2. 2. Open Your Files: Easily open your existing Microsoft Office documents without losing any formatting or data.
  3. 3. Save to WPS Cloud: Sign in to your WPS account and enable WPS Cloud to automatically sync and access your files across all devices.
Built-in, stable WPS Cloud for reliable file syncing and automatic backup.Fully compatible with Microsoft Office formats, including DOCX, XLSX, and PPTX.Lightweight application that uses minimal system resources on your Mac.Free to use with a familiar, easy-to-navigate user interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my OneDrive upload keep failing on Mac?

Upload failures are often caused by corrupted local DNS caches, network proxy misconfigurations, overly strict firewall rules, or temporary Microsoft server outages.

How do I clear Keychain credentials for OneDrive?

Open Spotlight Search (Cmd + Space), type 'Keychain Access', search for 'OneDrive', delete the related credential entries, and then restart the OneDrive application to sign in fresh.

Does changing DNS servers fix OneDrive sync issues?

Yes, switching your Mac's DNS settings to public DNS servers like Google DNS (8.8.8.8) or Cloudflare (1.1.1.1) can bypass ISP-level routing issues that may be blocking access to OneDrive servers.