logo
search
OneDrive Error Codes

How to Fix OneDrive for Business Files On-Demand Error -2 on Mac

Olivia MillerOlivia Miller Sep 30, 2026 869 views

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.

How to Fix OneDrive for Business Files On-Demand Error -2 on Mac
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.
Before you start

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.

Solution 1Recommended

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.

1
Document the error details

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.

2
Contact your IT department

Reach out to your organization's IT support desk or system administrator and provide them with the documented error details.

3
Administrator opens a support ticket

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.

Contact Your Microsoft 365 Administrator to Submit a Support Ticket
Administrator Privileges Required: Only users with designated Microsoft 365 administrator privileges can access the admin center to open backend support tickets. Standard end-users cannot perform this action.
Free Microsoft Office alternative

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.

Fully compatible with Microsoft Word, Excel, and PowerPoint file formats.Built-in WPS Cloud for reliable, error-free file syncing and backup.Lightweight application design that runs incredibly smoothly on macOS.Free and intuitive interface allowing for immediate productivity without complex setups.
microsoft office alternative - wps office

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.