How to Fix OneDrive for Business Files On-Demand Error -2 on Mac
Question details
The user is experiencing a setup failure when attempting to start OneDrive for Business with Files On-Demand enabled on macOS, resulting in an Error -2 prompt.

- Product
- OneDrive for Business
- Device & OS
- macOS
- Scenario
- Setting up OneDrive for Business and initializing the Files On-Demand feature on a Mac computer.
- Observed behavior
- During setup, a prompt appears stating that Files On-Demand did not start, displaying error code -2. Repeated application restarts do not bypass or resolve this failure.
Ensure your Mac is connected to a stable network, and identify your organization's Microsoft 365 IT administrator, as this specific backend error requires administrative privileges to resolve.
Contact Your Microsoft 365 Administrator to Submit a Support Ticket
Because Error -2 typically stems from an account or backend service issue rather than a local application glitch, standard troubleshooting like restarting will not work. An administrator must escalate the issue to Microsoft Support.
Microsoft Support needs to investigate the backend service status, account provisioning, and Files On-Demand configuration. This level of investigation requires a formal support ticket created through the Microsoft 365 admin center, which is restricted to users with administrator roles.
Take a screenshot of the Error -2 prompt and note down your macOS version, the exact time the error occurred, and your Microsoft 365 account email.
Reach out to your organization's IT support desk or system administrator and provide them with the documented error details.
Instruct your administrator to log into the Microsoft 365 admin center, navigate to the Support section, and create a New Service Request detailing the OneDrive Files On-Demand failure on macOS.

Experience Hassle-Free Document Management with WPS Office
If you are frustrated by complex backend errors and sync issues with your current setup, consider switching to WPS Office. It provides a lightweight, free alternative to Microsoft Office with seamless format compatibility and a highly stable built-in cloud service for managing your documents on Mac without the headache.

Frequently Asked Questions
What exactly does Error -2 mean in OneDrive for Business?
Error -2 on macOS indicates a failure for the OneDrive Files On-Demand service to initialize properly. This is most frequently caused by account misconfigurations on the server side or temporary disruptions in Microsoft's backend services.
Can I fix Error -2 by reinstalling OneDrive on my Mac?
Usually, no. Because this specific error is tied to backend service configurations or temporary Microsoft 365 outages, local troubleshooting methods like reinstalling the app, unlinking the account, or restarting the Mac rarely resolve the core issue.
How do I find out who my Microsoft 365 Administrator is?
If you are using a work or school account, your administrator is typically your company's IT support desk, system administrator, or the person who originally provided you with your login credentials and email setup.




