Thanks for sharing the details, Esfarjani! Good second question, but short answer is, there’s no officially supported “legacy” OneDrive version for macOS Sierra (10.12.6), the support has ended.
So given all this, you can lean toward upgrading macOS if your Mac hardware allows it, getting to at least Mojave (10.14) or higher would be much safer / more stable.
Or using OneDrive via the web, access your files through a browser if you can’t sync reliably.
See if this helps. If you need further assistance just let me know.
Best regards,
Kimberly