In an announcement of new OneDrive features coming to the mobile clients, Microsoft said that it will be ending support for OneDrive on OS X 10.10 Yosemite and 10.11 El Capitan on February 1, 2019. The news isn't surprising, as Apple isn't even supporting the older versions of its OS anymore.
The OS X El Capitan v10.11.2 Update is recommended for all OS X El Capitan users. The OS X El Capitan v10.11.2 update improves the stability, compatibility, and security of your Mac, and is recommended for all users. Turn on Finder integration. If you’re on OSX 10.10 or higher, get sync status directly from Finder by enabling Finder overlays in Settings. First, click the Apple logo in the top left corner of your Mac Desktop and select System Preferences, then select Extensions in the top-level menu (shown in the 3rd row from the top). Download and install the Microsoft OneDrive app for PC, Mac, iOS, and Android. Get OneDrive cloud storage to protect your files and access them across all your devices.
If you're still using the OneDrive sync client on Yosemite or El Capitan, don't worry, as it will continue to work. You should still think about upgrading to a newer version of macOS though, as you're pretty much running in an unsupported state. The client will no longer be tested on those OS versions, and issues won't be investigated or fixed after February 1.

Red X Showing On Onedrive
Also, new installations of the sync client will be blocked on OS X 10.10 and 10.11. That means that while it will continue to run for the time being, if you uninstall OneDrive or reset your PC, you won't be able to get it back.
Microsoft is recommending that you upgrade your Mac to at least macOS 10.12 before February 1, but for the best experience, you should go for macOS 10.14 Mojave. After all, you'll need to be on the latest version of the OS to get OneDrive Files On-Demand.
Getting Started
Onedrive For Os 10.11
OneDrive on Mac
Documents and Document Libraries
