If you've opened OneDrive on your Mac and been greeted with a message saying your account has been blocked, access has been restricted, or syncing has stopped entirely, you're not alone. This is one of the most common OneDrive complaints among Mac users, and the good news is that it's almost always fixable without losing a single file. In this guide, I'll walk you through exactly why this happens and every step you need to take to get back up and running.
What "OneDrive Blocked" Actually Means on a Mac
When OneDrive shows a blocked or restricted message on your Mac, it doesn't always mean the same thing. The term "blocked" can refer to several distinct situations, and knowing which one you're dealing with is the first step toward fixing it.
You might see messages like:
- "Your OneDrive account has been blocked.", This usually means Microsoft has temporarily suspended your account for a policy violation or unusual activity.
- "OneDrive is blocked by your organization.", Your IT administrator has restricted OneDrive access through a conditional access policy or Microsoft Intune.
- "OneDrive couldn't sign you in.", Authentication has failed, often because a token has expired or your credentials have changed.
- "Syncing has been paused or stopped.", macOS security permissions are preventing OneDrive from accessing the file system.
- "This app has been blocked by your system administrator.", Gatekeeper or an MDM profile on your Mac is blocking the app from running.
Each of these requires a slightly different approach. I've structured this guide so you can work through them sequentially, the fixes at the top of the list solve the most common causes first.
Why OneDrive Gets Blocked on a Mac
Before we dive into fixes, let me explain the most common reasons this happens. Understanding the root cause will save you from going in circles.
1. Microsoft Account Suspended or Flagged
Microsoft's automated security systems monitor accounts for unusual sign-in activity, things like signing in from a new country, multiple failed password attempts, or activity patterns that resemble a compromised account. When the system flags your account, it may temporarily block access as a protective measure. This is common and easy to resolve once you verify your identity.
2. macOS Privacy and Security Permissions
macOS is strict about what apps can access. With macOS Ventura, Sonoma, and Sequoia, Apple introduced increasingly granular permission controls. OneDrive needs access to your disk, Documents folder, Desktop, and Downloads to sync correctly. If any of these permissions are denied, or if macOS upgraded and reset permissions, OneDrive will behave as though it's blocked even though your account itself is fine.
3. Conditional Access Policies (Work or School Accounts)
If you're using a Microsoft 365 business or education account, your IT administrator may have set up conditional access rules that require your device to be compliant, enrolled in Intune, or connected to a corporate VPN. If your Mac doesn't meet those requirements, maybe you updated macOS or changed your network, access gets denied automatically.
4. Corrupted OneDrive Cache or Keychain Entry
OneDrive stores authentication tokens and cache files locally. On macOS, it also stores credentials in the Keychain. If either of these becomes corrupted, which can happen after a Mac update, a crash, or an interrupted sync, OneDrive can fail to authenticate properly and show blocked or sign-in error messages.
5. macOS Gatekeeper or MDM Profile
If your Mac is managed by an organization, an MDM (Mobile Device Management) profile may have been pushed that explicitly blocks OneDrive or restricts its permissions. Similarly, if you downloaded OneDrive from outside the App Store, Gatekeeper may be preventing it from running after a macOS update.
6. Outdated OneDrive Version
Microsoft regularly updates OneDrive to stay compatible with macOS security changes. An outdated version can lose the ability to authenticate with Microsoft's servers or interact properly with macOS APIs, resulting in what looks like a block.
Step-by-Step Fix: How to Unblock OneDrive on Your Mac
Work through these steps in order. Most people resolve the issue within the first three steps.
Before touching anything on your Mac, verify that your Microsoft account itself isn't suspended or flagged. Open Safari or Chrome and go to account.microsoft.com. Sign in with the same credentials you use for OneDrive.
If you're prompted to verify your identity, via email, phone, or authenticator app, complete that process. Microsoft's system may have flagged your account for security reasons and will lift the restriction as soon as you confirm it's really you.
If you see a message like "Your account has been locked," follow the on-screen recovery steps. Microsoft will typically ask you to verify through a recovery email or phone number, or answer security questions. Once verified, your account is usually restored within a few minutes.
This is the single most common fix for Mac users. macOS may have revoked OneDrive's file system access without telling you.
Here's how to check and fix it:
- Click the Apple menu in the top-left corner and select System Settings (or System Preferences on older macOS).
- Click Privacy & Security in the left sidebar.
- Scroll down and click Files and Folders.
- Find Microsoft OneDrive in the list. Make sure the toggle is enabled for all folders it needs, especially Documents Folder, Desktop Folder, and Downloads Folder.
- Also go back to Privacy & Security and check Full Disk Access. If OneDrive is listed there but toggled off, turn it on.
After enabling permissions, quit OneDrive completely (right-click the cloud icon in the menu bar, choose Quit OneDrive) and relaunch it from your Applications folder.
A stale authentication token is a surprisingly common cause of OneDrive blocks. Signing out and back in forces OneDrive to fetch a fresh token.
- Click the OneDrive cloud icon in your menu bar (if you don't see it, open OneDrive from Applications).
- Click the gear icon (Settings) and select Sign Out.
- Confirm that you want to sign out. Your files will remain on your Mac, you're only disconnecting the sync relationship temporarily.
- Wait about 30 seconds, then click the OneDrive icon again and sign back in with your Microsoft account credentials.
If this is a work or school account and you're prompted for multi-factor authentication, complete that process fully. Incomplete MFA is a very common reason the sign-in appears to fail.
Running an outdated version of OneDrive can cause authentication failures that look like blocks, especially after macOS updates.
If you installed OneDrive from the Mac App Store:
- Open the App Store app.
- Click Updates in the sidebar.
- If OneDrive appears in the list, click Update.
If you installed OneDrive directly from Microsoft (not the App Store):
- Click the OneDrive icon in the menu bar.
- Click the gear icon and look for Check for Updates. If you see this option, run it.
- Alternatively, visit the Microsoft OneDrive release notes page to find the latest standalone installer and download it directly.
After updating, restart your Mac and launch OneDrive again.
If sign-in still fails, a corrupted cache or Keychain entry is likely the culprit. This step clears all locally stored authentication data and forces OneDrive to start fresh.
First, quit OneDrive completely:
- Click the OneDrive icon in the menu bar.
- Click the gear icon and select Quit OneDrive.
Next, remove the OneDrive cache files. Open Finder, click Go in the menu bar, hold the Option key, and click Library to open the hidden Library folder. Navigate to:
~/Library/Application Support/OneDrive, delete everything inside this folder, but not the folder itself.~/Library/Containers/com.microsoft.OneDrive-mac, if this folder exists, delete its contents as well.~/Library/Caches/com.microsoft.OneDrive, delete the contents of this folder too.
Now clear the Keychain entries:
- Open Keychain Access (find it in Applications > Utilities, or search with Spotlight).
- In the search bar, type OneDrive.
- Select all entries that appear and delete them.
- Also search for Microsoft and delete any entries related to OneDrive or Microsoft Office.
Restart your Mac, then launch OneDrive and sign in fresh.
If the above steps haven't worked, resetting OneDrive is the nuclear option that resolves almost every local configuration problem. This disconnects all your synced folders and resets the app to a fresh state, but your cloud files are completely safe.
To reset OneDrive:
- Quit OneDrive completely from the menu bar.
- Open Terminal (Applications > Utilities > Terminal).
- Paste the following command and press Enter:
/Applications/OneDrive.app/Contents/MacOS/OneDrive --reset
If that doesn't work (the path may vary slightly depending on your installation), try:
killall OneDrive; defaults delete com.microsoft.OneDrive
After the reset command runs, relaunch OneDrive from your Applications folder and sign in again. You'll need to go through the initial setup and re-select which folders to sync.
If resetting didn't fix the issue, a clean reinstall will. This removes every trace of the current installation and starts completely fresh.
- Quit OneDrive from the menu bar.
- Open Finder and go to your Applications folder.
- Find Microsoft OneDrive, right-click it, and choose Move to Trash.
- Open Terminal and remove any remaining files:
rm -rf ~/Library/Application\ Support/OneDrive
rm -rf ~/Library/Containers/com.microsoft.OneDrive-mac
rm -rf ~/Library/Caches/com.microsoft.OneDrive
rm -rf ~/Library/Preferences/com.microsoft.OneDrive.plist
- Empty the Trash.
- Restart your Mac.
- Download and install the latest version of OneDrive, either from the Mac App Store or from Microsoft's website.
- Launch it and sign in.
Advanced Troubleshooting
If the standard steps above haven't resolved the issue, one of these advanced scenarios is likely what you're dealing with.
Conditional Access and IT-Managed Accounts
If you're using a Microsoft 365 work or school account and your Mac isn't enrolled in your organization's device management system, you may be getting blocked by a conditional access policy. This is increasingly common as organizations enforce stricter security requirements.
Signs this is your issue: the block message specifically mentions "your organization," you've recently changed your Mac or updated macOS, or the issue appeared right after a new IT policy was rolled out.
To fix this, you typically need to:
- Download and install the Microsoft Intune Company Portal app from the Mac App Store.
- Sign in with your work or school account and enroll your Mac.
- Wait for the enrollment to complete and the compliance status to turn green.
- Then try signing in to OneDrive again.
If you're unsure whether this applies to you, reach out to your IT helpdesk. They can check the Azure AD sign-in logs and tell you exactly why your access is being blocked.
MDM Profile Explicitly Blocking OneDrive
If your Mac has a corporate MDM profile installed, that profile may include a restriction that prevents OneDrive from running or accessing the file system. You can check whether an MDM profile is installed by going to System Settings > Privacy & Security > Profiles. If you see profiles listed there, your Mac is managed.
In this situation, only your IT administrator can remove or modify the restriction. Contact them and explain that OneDrive is showing a blocked message, they'll be able to see exactly what policy is applying and either modify it or add an exception for your account.
Check macOS Gatekeeper and Security Settings
If you installed OneDrive outside the App Store and macOS is preventing it from running after an update, Gatekeeper may be blocking it. To check:
- Try to launch OneDrive from your Applications folder.
- If you see a message like "Microsoft OneDrive cannot be opened because the developer cannot be verified," go to System Settings > Privacy & Security.
- Scroll down to the Security section. You should see a message saying OneDrive was blocked. Click Open Anyway.
If the app was installed from the official Mac App Store or downloaded directly from Microsoft's website, this shouldn't be an ongoing problem, but it can occur after a macOS major version upgrade.
Check for Conflicting Security Software
Third-party security or antivirus software, including products like Malwarebytes, Sophos, Norton, or CrowdStrike, can sometimes block OneDrive's network connections or file system access. To test this, temporarily disable your security software, relaunch OneDrive, and see if the block resolves. If it does, add OneDrive to the exclusion list in your security software rather than keeping it disabled.
Check Your Firewall Settings
macOS has a built-in firewall that can be configured to block specific applications. If OneDrive is in the blocked apps list:
- Go to System Settings > Network > Firewall.
- Click Options (or the lock icon to unlock, then click the firewall settings).
- Look for Microsoft OneDrive in the list.
- If it shows a red dot or says "Block incoming connections," click it and change it to Allow incoming connections.
Review Microsoft 365 Admin Center (For Admins)
If you're the IT administrator and your users are getting blocked, check the following in the Microsoft 365 admin center:
- Azure AD > Sign-in logs: Look for failed sign-ins with error codes. Common codes include 53003 (conditional access policy failure), 50076 (MFA required), and 530032 (security policy block).
- Azure AD > Conditional Access > Policies: Review any policies that apply to the affected user or device.
- SharePoint Admin Center > Access Control: Check if unmanaged device policies or network location policies are blocking OneDrive access.
- Microsoft Intune > Compliance Policies: Verify that the Mac's compliance status is current.
OneDrive Sync Issues vs. Account Block
Sometimes what appears to be a block is actually a sync engine problem. You can tell the difference: if you can see your files at onedrive.live.com or portal.office.com in a browser but not on your Mac, the issue is with the local sync client, not your account. In this case, resetting or reinstalling OneDrive (Steps 6 and 7 above) is the right path forward rather than account recovery steps.
How to Prevent OneDrive From Getting Blocked Again
Once you've got everything working, here are some habits and settings that will prevent you from dealing with this again.
Keep OneDrive Updated Automatically
The most effective prevention is keeping OneDrive current. If you use the Mac App Store version, enable automatic updates in the App Store preferences. If you use the standalone version, enable automatic updates in OneDrive's settings (gear icon > Preferences > About > Automatically update OneDrive).
Don't Revoke macOS Permissions Accidentally
Be cautious when using privacy-cleaning apps like CleanMyMac or OnyX. These tools can reset app permissions in bulk, which will break OneDrive's access to your file system. After running any system cleanup tool, check System Settings > Privacy & Security > Files and Folders to make sure OneDrive's permissions are still intact.
Use Multi-Factor Authentication
Enabling MFA on your Microsoft account makes it significantly less likely to be flagged for suspicious activity, because even if someone gets your password, they can't access your account. Set this up at account.microsoft.com under Security > Advanced security options.
Keep macOS Updated
Major macOS updates sometimes reset app permissions or change system security behavior. After any macOS update, it's worth checking OneDrive's permissions in System Settings before you need them to work.
Maintain a Backup Strategy
OneDrive should not be your only backup. Keep Time Machine running to an external drive or a separate cloud backup. This ensures that even if OneDrive is blocked for an extended period, your files are safe and accessible.
Watch for Microsoft Security Emails
Microsoft will often send an email warning before or immediately after blocking your account for security reasons. Make sure the recovery email on your Microsoft account is current and that you check it regularly. Setting up the Microsoft Authenticator app on your phone is even better, it gives you immediate notifications about any security events on your account.