in Opinion

If you’re having issues with your macOS‘s OneDrive installation you might want to try the following fix.

I have been using this in order to keep the Files On-Demand feature that has been available for some time now in a specific preview build. I can’t say though, if there has been any kind of update to this build Microsoft is making available (download here).

The Files On-Demand feature works well enough on this build and it’s so useful that I’ve been using despite the issues it has.

Screenshot of Preferences in Mac for OneDrive Files On-Demand
Files On-Demand!

The main issue I’ve been struggling with is that OneDrive will stop working after some days – it will just crash without any warning soon after the app loads. As this is a silent crash, you won’t even be aware that your files are not being synced at all!

The Fix

Fixing this is relatively easy. Considering that OneDrive is not loading or if it is constantly crashing, you might want to follow the steps below. This will reset all KeyChain entries (including the login), and some other settings, so you’ll basically have to login again and wait for OneDrive to check all your local files against the online stored versions.

Here we go:

  1. Close OneDrive using the app (if open), by pressing the cloud icon and selecting Settings > Quit.
  2. Open Activity Monitor and kill any OneDrive related task you find (there might be some OneDrive Finder Integration entries there as well).
  3. Open Finder, navigate to Applications >, right-click it and select Show Package Contents.
  4. Navigate to Contents > Resources
  5. Find “ResetOneDriveApp.command” or “ResetOneDriveAppStandalone.command” and double-click it.
  6. After that a Console script should run on its own and you can close it when completed.
  7. Open OneDrive again and login.


Note that if you are using Files On-Demand and experiencing similar issues to mine, the procedure above will also reset your default selection for files and folders you have manually excluded from your synchronization selection (i.e. “Free up space”).

Essentially, you’ll have to choose whichever ones you want or leave it to OneDrive to manage it.

Screenshot of OneDrive Files On-Demand options in Finder on a Mac

For More on OneDrive for Mac troubleshooting

Microsoft FAQ: