OneDrive Blocked on Mac: Fix It & Get Your Files Back

Microsoft Fix Intermediate 14 min read Official Docs Grounded Updated April 20, 2026

Why OneDrive Gets Blocked on Mac

I've seen this exact situation dozens of times , you sit down to access an important file on your Mac, click the OneDrive icon in the menu bar, and you're met with a wall. Nothing opens. Or worse, you get a vague message like "OneDrive is blocked" or "Your account has been locked", and now you're panicking because your data feels completely out of reach.

First, breathe. Your files are almost certainly still safe in Microsoft's cloud. "Blocked" rarely means "deleted." What it usually means is that something has broken the trust handshake between your Mac, the OneDrive app, and Microsoft's servers. There are several distinct reasons this happens, and knowing which one you're dealing with determines the fix.

The six most common causes:

  • macOS Full Disk Access revoked or never granted. Apple tightened privacy controls significantly in macOS Ventura, Sonoma, and Sequoia. OneDrive needs explicit Full Disk Access permission to monitor your files. If this gets reset after a macOS update, OneDrive silently stops working.
  • Microsoft account suspended or locked. Microsoft's automated security systems flag accounts for unusual sign-in activity, password issues, or suspected violations. If your personal Microsoft account gets suspended, OneDrive access is cut off entirely, even on devices you use every day.
  • Conditional Access policy (work or school accounts). Your organisation's IT administrator may have set a policy that blocks access from unmanaged devices, outdated macOS versions, or non-compliant apps. Your Mac is being blocked at the server level, not the app level.
  • Corrupted OneDrive keychain entries. macOS stores OneDrive's authentication tokens in your system Keychain. After a macOS upgrade or a forced sign-out, these entries can become corrupted, the app tries to authenticate, fails silently, and presents as "blocked."
  • Storage quota exceeded. When your OneDrive storage is full, Microsoft blocks all upload/sync operations. On Mac, this sometimes manifests as the entire app appearing frozen or inaccessible, not just a simple "storage full" warning.
  • Outdated OneDrive app version. Microsoft periodically deprecates older OneDrive builds. If your Mac is running a version that's no longer supported, the app will be rejected at the authentication layer, which looks exactly like an account block from your end.

The frustrating part is that Microsoft's error messages don't distinguish between these causes clearly. You might see error code 0x8004deef, 0x80070005, or just a generic "OneDrive can't connect" banner, none of which tell you what's actually broken. That's what this guide is for.

Browse all Microsoft fix guides →

The Quick Fix, Try This First

Before you go through every step below, try this one first. It resolves the majority of OneDrive-blocked-on-Mac situations in under three minutes.

Reset OneDrive's macOS permissions and force a fresh sign-in.

Open System Settings (the gear icon in your Dock, not System Preferences, that's the old macOS look). Go to Privacy & Security in the left sidebar, then scroll down to Full Disk Access. Look for "OneDrive" in the list. If the toggle next to it is off, switch it on. If OneDrive isn't in the list at all, click the + button, press Command + Shift + G, type /Applications, and select OneDrive.

Now quit OneDrive completely, don't just close the window. Click the OneDrive cloud icon in your Mac's menu bar (top-right area), click the gear icon, and select Quit OneDrive. Wait ten seconds, then reopen it from your Applications folder.

When OneDrive restarts, it will prompt you to sign in again. Use the exact email address associated with your OneDrive account. If you're signing in with a Microsoft 365 work account, use your work email, not a personal one.

If it connects and syncs, you're done. If you're still seeing a block message or the app won't authenticate, proceed through the steps below.

Pro Tip
When OneDrive is "blocked" on Mac, the single most time-wasting mistake is reinstalling the app before clearing the Keychain entries. Reinstalling pulls in the same broken authentication tokens from macOS Keychain, so you end up exactly where you started. Always clear Keychain first (Step 3 below) before you consider a reinstall.
1
Check Your Microsoft Account Status Online First

Before touching anything on your Mac, go straight to the source. Open Safari or Chrome and navigate to account.microsoft.com. Try to sign in with the exact Microsoft account that OneDrive uses.

If your account is suspended, you'll see a message like: "Your account has been locked. To protect your account, we've temporarily restricted access." This is Microsoft's automated fraud/security system at work. The sign-in page will offer a recovery path, usually verifying your identity via a phone number or secondary email.

Follow the account recovery flow there. Once your Microsoft account is reinstated at the web level, OneDrive on your Mac will regain access automatically within a few minutes, you may just need to sign out and back in to the OneDrive app.

If you can sign into account.microsoft.com just fine and your OneDrive files are visible at onedrive.live.com, the block is happening at the app or Mac level, not the account level. Move on to the next steps.

Also check your storage at onedrive.live.com/quota. If the bar is red and showing 100% full, that's your culprit. You'll need to either delete files from OneDrive or upgrade your Microsoft 365 storage plan before sync will resume.

What you should see if it worked: You can sign in to account.microsoft.com and see your files at onedrive.live.com without any error message or account warning.

2
Grant Full Disk Access and Files & Folders Permissions

macOS treats OneDrive like any other third-party app, it doesn't get to touch your files unless you explicitly say so. After macOS updates, these permissions sometimes get silently reset. This is one of the most common causes of OneDrive appearing blocked on Mac even when your account is perfectly fine.

Open System Settings → Privacy & Security. You need to check three separate permission sections:

1. Full Disk Access, Scroll down in Privacy & Security until you see "Full Disk Access." Click it. Find "OneDrive" and ensure the toggle is green/on. This allows OneDrive to read and write files across your entire drive, including the Desktop and Documents folders.

2. Files and Folders, Still in Privacy & Security, look for "Files and Folders." Click it. OneDrive should appear here with checkboxes for Desktop Folder, Documents Folder, and Downloads Folder. Enable all three.

3. Login Items, Go to System Settings → General → Login Items & Extensions. Under "Allow in Background," check that OneDrive is listed. If it's been removed, click the + button and add OneDrive from your Applications folder. Without this, OneDrive won't start automatically and can appear "blocked" after every reboot.

After making these changes, quit OneDrive fully from the menu bar and relaunch it. Give it 60 seconds to reconnect.

What you should see if it worked: The OneDrive menu bar icon shows the sync animation (rotating arrows) rather than a red X or pause icon.

3
Clear Corrupted Keychain Authentication Tokens

This step fixes the "OneDrive blocked" situation that persists even after you've fixed your account and your permissions look fine. The issue is that macOS stored old, invalid authentication tokens in Keychain Access, and OneDrive keeps trying to use them instead of asking you to sign in fresh.

First, quit OneDrive completely from the menu bar (gear icon → Quit OneDrive).

Now open Keychain Access, press Command + Space, type "Keychain Access," and open it. In the search box at the top right, type OneDrive. You'll likely see several entries with names like "OneDrive Standalone," "OneDrive," or entries containing your Microsoft email address.

Select each OneDrive-related entry and delete it by pressing the Delete key, then confirming deletion. Don't worry, you won't lose any files. You're just deleting cached authentication tokens, not your actual OneDrive data.

Also search for microsoft.com and delete any entries that reference OneDrive or Microsoft sign-in tokens.

After clearing Keychain, open your Mac's Terminal (Applications → Utilities → Terminal) and run this command to also clear OneDrive's local settings cache:

defaults delete com.microsoft.OneDrive

Then relaunch OneDrive from your Applications folder. It will start fresh and prompt you to sign in. Enter your Microsoft account credentials and complete the setup wizard.

What you should see if it worked: OneDrive opens a clean sign-in window, you authenticate successfully, and it begins syncing your existing files.

4
Update or Reinstall OneDrive for Mac

If you're running an outdated version of OneDrive, Microsoft's servers may refuse the connection entirely, which your Mac interprets as being "blocked." This happens more often than you'd think, especially if you've had your Mac for a couple of years and auto-updates got disabled at some point.

To check your current version, click the OneDrive menu bar icon → gear icon → About OneDrive. Note the version number. As of April 2026, the minimum supported OneDrive for Mac build is in the 24.x series. Anything older than that can trigger authentication blocks.

The cleanest way to update is through the Mac App Store if you originally installed OneDrive from there. Open the App Store, click Updates in the sidebar, and check for OneDrive. Install any available update.

If you installed OneDrive from Microsoft's website directly (not the App Store), download the latest package from aka.ms/onedrive-mac and run the installer. You don't need to uninstall the old version first, the installer handles that.

If an update alone doesn't fix it, do a clean reinstall. First, run this Terminal command to fully remove OneDrive's local data and preferences:

~/Library/CloudStorage/OneDrive*
~/Library/Containers/com.microsoft.OneDrive-mac
~/Library/Application Support/OneDrive

Delete those folders by opening Finder, pressing Command + Shift + G, navigating to each path, and moving the folders to Trash. Then reinstall OneDrive fresh.

What you should see if it worked: OneDrive launches, shows a version number in the 24.x or higher range, and signs in without an error.

5
Download and Recover Your Files Directly from OneDrive.com

If you've worked through the steps above and OneDrive on your Mac is still blocked, you don't have to wait to access your files. You can recover everything directly from the web, right now, regardless of what's happening with the app on your Mac.

Open any browser on your Mac and go to onedrive.live.com and sign in with your Microsoft account (or use portal.office.com if it's a work or school account). Your files are listed exactly as they appear in the app.

To download a single file, right-click it and select Download. To download an entire folder, click the checkbox next to the folder name to select it, then click Download in the top toolbar, Microsoft packages it as a ZIP file.

To download everything at once, click the checkbox next to "My files" at the top to select all, then hit Download. For large accounts this can take a while to package, but it will download a complete ZIP of all your content.

If your files aren't visible at onedrive.live.com, meaning the site shows an empty OneDrive or an account error, that's a strong signal that the block is at the account level, not just the Mac app. In that case, revisit Step 1 and go through Microsoft's account recovery process at account.live.com/password/reset.

For work/school accounts where the web access is also blocked, contact your organisation's IT administrator, they control access through Azure Active Directory and can unlock your account from the admin portal.

What you should see if it worked: Your files appear at onedrive.live.com and you can download them to a local folder on your Mac as a backup while you resolve the app-level issue.

Advanced Troubleshooting

If the steps above haven't resolved your OneDrive blocked on Mac situation, you're dealing with something deeper, usually a Conditional Access policy, a network-level block, or a macOS-level conflict that requires more surgical diagnosis.

Check Console.app for OneDrive Error Logs

macOS has its own equivalent of Windows Event Viewer, it's called Console. Open it from Applications → Utilities → Console. In the search box, type OneDrive and set the filter to "Process." Reproduce the error by trying to launch OneDrive, then look for red error lines. Common critical errors include authentication rejection messages, sandbox violations (error code sandbox-exec), and network timeout strings that point to Microsoft's auth endpoints being blocked.

Conditional Access (Work and School Accounts)

If you're using a Microsoft 365 business account, your IT administrator may have configured Conditional Access policies in Azure Active Directory that block sign-in from devices that aren't enrolled in Microsoft Intune (your company's device management system). The error you'll see is usually: "You can't access this right now. Your sign-in was blocked." with an error code like AADSTS53003 or AADSTS50020.

The fix here isn't on your Mac, it's in your company's Azure AD admin panel. Your IT team needs to either enroll your Mac in Intune, add an exception for your device, or adjust the Conditional Access policy. Give your IT administrator the exact error code you see, AADSTS codes are unique and tell them exactly which policy is firing.

Network and Firewall Interference

Corporate VPNs, DNS filtering tools (like Cisco Umbrella or Zscaler), and aggressive third-party Mac firewalls like Little Snitch can all block OneDrive's connection to Microsoft's authentication endpoints. OneDrive requires access to these specific domains:

*.onedrive.com
login.microsoftonline.com
login.live.com
*.sharepoint.com
*.office.com

If you're on a corporate network, temporarily disconnect from the VPN and try OneDrive on a personal Wi-Fi network. If it works without the VPN, the block is being imposed by your corporate network policy, your IT team needs to whitelist those domains.

macOS Gatekeeper Blocking OneDrive

In rare cases after downloading OneDrive manually, macOS Gatekeeper flags it as unverified. You'll see a message like "OneDrive can't be opened because the developer cannot be verified." This isn't the same as a Microsoft block, it's a Mac-side security warning. To override it, open System Settings → Privacy & Security, scroll to the bottom, and click Open Anyway next to the OneDrive warning. Alternatively, run this Terminal command:

sudo xattr -rd com.apple.quarantine /Applications/OneDrive.app
When to Call Microsoft Support
If your Microsoft account is locked and the self-service recovery options at account.live.com/password/reset are not working, especially if you no longer have access to the recovery email or phone number, escalate to Microsoft Support directly. Have your account email, any purchase receipts tied to the account, and the last password you remember ready. For business accounts, your company's Microsoft 365 Global Administrator can unlock your account from the Microsoft 365 admin center at admin.microsoft.com under Users → Active Users.

Reset OneDrive Completely via Terminal

As a last resort before calling support, this Terminal command resets OneDrive to factory defaults on your Mac, it's the equivalent of a clean uninstall and reinstall without touching your cloud files:

/Applications/OneDrive.app/Contents/Resources/ResetOneDriveApp.command

Run that in Terminal and follow the prompts. It clears all local sync state, authentication tokens, and cached settings, then restarts OneDrive fresh. Your files in the cloud are untouched.

Prevention & Best Practices

Once you've got OneDrive working again on your Mac, a few simple habits will keep you from ending up in this situation again. I've watched people lose hours of productivity to repeat OneDrive blocks that were entirely preventable.

The biggest one: keep OneDrive updated. Microsoft regularly patches authentication flows, and older app versions get cut off. If you installed OneDrive via the Mac App Store, make sure automatic updates are enabled under App Store → Settings → Automatic Updates. If you downloaded it directly, OneDrive has a built-in update check, click the menu bar icon → gear → Check for Updates, run this monthly.

Second, keep a local backup of your critical OneDrive files. This is the real lesson of the "OneDrive blocked" experience. Tools like Time Machine or a simple periodic download of your most important folders to a local drive means that even if cloud access is cut off, your work isn't. Treat OneDrive as sync, not sole storage.

Third, secure your Microsoft account properly to avoid it getting flagged or suspended. Enable two-step verification at account.microsoft.com/security. Add a backup phone number and a recovery email that you actually have access to. Microsoft's automated security systems are aggressive, they block accounts on the slightest hint of unusual activity, and recovery is much faster when your verification options are current.

For work accounts specifically, talk to your IT team about enrolling your Mac in Microsoft Intune if your company uses Conditional Access. It sounds bureaucratic but it takes 15 minutes and it means your device is always on the "trusted" list. No more random access blocks when policy changes roll out.

Quick Wins

Frequently Asked Questions

Will my OneDrive files be deleted if my account is blocked?

No, a block does not delete your files. Microsoft retains your data for at least 30 days after an account suspension on personal accounts, and 180 days on Microsoft 365 business accounts. Your files are sitting in Microsoft's cloud storage completely intact; you just can't access them through the app while the block is active. Once you resolve the block through account recovery or IT administrator action, everything reappears exactly as you left it.

OneDrive says "Your account has been locked", is this a hack?

Not necessarily, and usually not. Microsoft's automated systems lock accounts for a wide range of reasons: too many failed sign-in attempts, sign-ins from an unfamiliar location or device, suspicious third-party app access, or even a billing issue on a paid plan. Go to account.microsoft.com and check the security alerts, the lock notification will usually tell you the trigger. Change your password during recovery and enable two-step verification, but don't panic about a breach until you've read the actual reason.

OneDrive is blocked on my work Mac but works fine on my personal Mac, why?

This is almost certainly a Conditional Access policy set by your organisation's IT team. Your work account in Azure Active Directory is configured to only allow access from devices that meet certain criteria, enrolled in Intune, running a minimum macOS version, or joined to a specific network. Your personal Mac doesn't meet those criteria, so access is blocked at the server level. The fix is to either enroll your personal Mac in your company's Intune (ask IT), or request an exception. There's nothing wrong with OneDrive or your Mac itself.

OneDrive won't open on Mac after a macOS Sequoia/Sonoma update, what happened?

Major macOS updates frequently reset third-party app permissions, including the Full Disk Access and Files & Folders permissions that OneDrive needs. The app isn't broken, macOS just silently revoked its access to your file system as part of the update process. Go to System Settings → Privacy & Security → Full Disk Access and toggle OneDrive back on. Also check System Settings → General → Login Items & Extensions to make sure OneDrive is still listed under "Allow in Background." That combination resolves this in almost every case.

I can see my files on onedrive.com but the Mac app says "blocked", how do I fix the app?

The fact that the web version works means your Microsoft account is fine, the problem is isolated to the Mac app, almost certainly corrupted Keychain tokens or a stale local auth cache. Follow Step 3 in this guide: quit OneDrive, open Keychain Access, delete all OneDrive-related entries, then run defaults delete com.microsoft.OneDrive in Terminal. Relaunch OneDrive and sign in fresh. This resolves the app-side block without touching your cloud files.

OneDrive is showing a red X on my Mac, is that the same as being blocked?

A red X in the OneDrive menu bar usually means sync has been paused or there's a file conflict, it's distinct from a full account block, though both can feel the same. Click the red X icon and read the specific message. Common red X causes include: a file that can't sync because the filename has illegal characters, a file that's too large for your current plan, or storage quota being full. These are all fixable without going through account recovery, click "View sync problems" in the OneDrive menu to see the exact file or folder causing the issue and address it directly.

Related Microsoft Fix Guides

H
Sai Kiran Pandrala
Our team includes certified Microsoft engineers, Azure architects, and system administrators with 10+ years of enterprise IT experience. Every guide is written from hands-on troubleshooting, not guesswork. We test every fix before publishing.