OneDrive Blocked on Mac: Fix It & Get Your Files Back
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.
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.
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.
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.
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.
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.
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
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.