No description
  • D 95.5%
  • Shell 2.3%
  • Roff 0.9%
  • M4 0.7%
  • Makefile 0.4%
  • Other 0.2%
Find a file
abraunegg 61e5a1edb6
Implement FR #3209: Add native support for authentication via Intune dbus interface (#3274)
* Adds support for calling `acquireTokenInteractively` and `acquireTokenSilently` via D-Bus
* Parses and handles the full `brokerTokenResponse` object returned by the Intune broker
* Stores and reuses `account` data to enable silent token refresh without repeated interactive authentication
* Ensures the access token and its expiry time are properly calculated and stored for consistent token management
* Fallback to interactive authentication is triggered if silent authentication fails
2025-05-26 17:14:50 +10:00
.github Implement FR #3209: Add native support for authentication via Intune dbus interface (#3274) 2025-05-26 17:14:50 +10:00
contrib Implement FR #3209: Add native support for authentication via Intune dbus interface (#3274) 2025-05-26 17:14:50 +10:00
docs Implement FR #3209: Add native support for authentication via Intune dbus interface (#3274) 2025-05-26 17:14:50 +10:00
src Implement FR #3209: Add native support for authentication via Intune dbus interface (#3274) 2025-05-26 17:14:50 +10:00
tests Update makefiles.sh 2019-01-06 09:49:01 +11:00
.gitignore Ignoring files created during configure to be consistent with other files generated from .in templates (#3188) 2025-04-04 05:14:33 +11:00
aclocal.m4 autoconf based build system (#287) 2019-04-17 11:06:24 +10:00
changelog.md Release files for 2.5.5 (#3154) 2025-03-17 08:52:03 +11:00
config Implement FR #3209: Add native support for authentication via Intune dbus interface (#3274) 2025-05-26 17:14:50 +10:00
configure Implement FR #3209: Add native support for authentication via Intune dbus interface (#3274) 2025-05-26 17:14:50 +10:00
configure.ac Implement FR #3209: Add native support for authentication via Intune dbus interface (#3274) 2025-05-26 17:14:50 +10:00
install-sh autoconf based build system (#287) 2019-04-17 11:06:24 +10:00
LICENSE OneDrive Client for Linux v2.5.0 (#2805) 2024-09-16 11:14:46 +10:00
Makefile.in Implement FR #3209: Add native support for authentication via Intune dbus interface (#3274) 2025-05-26 17:14:50 +10:00
onedrive.1.in OneDrive Client for Linux v2.5.0 (#2805) 2024-09-16 11:14:46 +10:00
readme.md Implement FR #3209: Add native support for authentication via Intune dbus interface (#3274) 2025-05-26 17:14:50 +10:00

OneDrive Client for Linux

Version Release Date Test Build Build Docker Images Docker Pulls

Introducing a free Microsoft OneDrive Client that seamlessly supports OneDrive Personal, OneDrive for Business, OneDrive for Office365, and SharePoint Libraries.

This robust and highly customisable client is compatible with all major Linux distributions and FreeBSD, and can also be deployed as a container using Docker or Podman. It offers both one-way and two-way synchronisation capabilities while ensuring a secure connection to Microsoft OneDrive services.

Originally derived as a 'fork' from the skilion client, it's worth noting that the developer of the original client has explicitly stated they have no intention of maintaining or supporting their work (reference).

This client represents a 100% re-imagining of the original work, addressing numerous notable bugs and issues while incorporating a significant array of new features. This client has been under active development since mid-2018.

Features

  • Compatible with OneDrive Personal and OneDrive for Business, including access to Microsoft SharePoint Libraries
  • Supports seamless access to shared folders and files across both OneDrive Personal and OneDrive for Business accounts
  • Supports single-tenant and multi-tenant applications
  • Supports Intune Single Sign-On (SSO) authentication via the Microsoft Identity Device Broker (D-Bus interface)
  • Supports national cloud deployments including Microsoft Cloud for US Government, Microsoft Cloud Germany, and Azure/Office 365 operated by VNET in China
  • Provides rules for client-side filtering to select data for syncing with Microsoft OneDrive accounts
  • Protects against significant data loss on OneDrive after configuration changes
  • Supports a dry-run option for safe configuration testing
  • Validates file transfers to ensure data integrity
  • Caches sync state for efficiency
  • Monitors local files in real-time using inotify
  • Capability to sync remote updates immediately via webhooks
  • Supports interrupted uploads for completion at a later time
  • Enhanced synchronisation speed with multi-threaded file transfers
  • Manages traffic bandwidth use with rate limiting
  • Supports sending desktop alerts using libnotify

What's missing

  • Ability to encrypt/decrypt files on-the-fly when uploading/downloading files from OneDrive
  • Support for Windows 'On-Demand' functionality so file is only downloaded when accessed locally

External Enhancements

Frequently Asked Questions

Refer to Frequently Asked Questions

Have a question

If you have a question or need something clarified, please raise a new discussion post here

Supported Application Version

Support is only provided for the current application release version or newer 'master' branch versions.

The current release version is: Version

To check your version, run: onedrive --version. Ensure you are using the current release or compile the latest version from the master branch if needed.

If you are using an older version, you must upgrade to the current release or newer to receive support.

Basic Troubleshooting Steps

If you are encountering any issue running the application please follow these steps first:

  1. Check the version of the application using onedrive --version and ensure that you are running the latest release. If you are already using the latest release and are still experiencing an issue, you must manually build the client from 'master' to ensure you are running the latest code, which will include fixes for bugs found since the last release that may be impacting you.
  2. Configure the application to only use IPv4 network connectivity, and then retest.
  3. Configure the application to only use HTTP/1.1. operations with IPv4 network connectivity, and then retest.
  4. If the above points do not resolve your issue, upgrade your 'curl' version to the latest available by the curl developers. Refer to https://curl.se/docs/releases.html for details.

Reporting an Issue or Bug

Important

Please ensure that issues reported as bugs are indeed software bugs. For installation problems, distribution package/version issues, or package dependency concerns, please start a Discussion instead of filing a bug report.

If you encounter any bugs you can report them here on Github. Before filing an issue be sure to:

  1. Follow the Basic Troubleshooting Steps
  2. Fill in a new bug report using the issue template after following the Basic Troubleshooting Steps. Fill in all the details as this helps re-create your environment to replicate your issue.
  3. Generate a debug log for support using the following process
    • If you are in any way concerned regarding the sensitivity of the data contained with in the verbose debug log file, create a new OneDrive account, configure the client to use that, use dummy data to simulate your environment and then replicate your original issue
    • If you are still concerned, provide an NDA or confidentiality document to sign
  4. Upload the debug log to pastebin or archive and email to support@mynas.com.au
    • If you are concerned regarding the sensitivity of your debug data, encrypt + password protect the archive file and provide the decryption password via an out-of-band (OOB) mechanism. Email support@mynas.com.au for an OOB method for the password to be sent.
    • If you are still concerned, provide an NDA or confidentiality document to sign

Known issues

Refer to docs/known-issues.md

Documentation and Configuration Assistance

Installing from Distribution Packages or Building the OneDrive Client for Linux from source

Refer to docs/install.md

Configuration and Usage

Refer to docs/usage.md

Configure OneDrive Business Shared Items

Refer to docs/business-shared-items.md

Configure SharePoint / Office 365 Shared Libraries (Business or Education)

Refer to docs/sharepoint-libraries.md

Configure National Cloud support

Refer to docs/national-cloud-deployments.md

Docker support

Refer to docs/docker.md

Podman support

Refer to docs/podman.md