Microsoft OneDrive Connector 1.0 - Mule 4

Support Category: Select

Anypoint Connector for Microsoft OneDrive (OneDrive Connector) enables you to access Microsoft Graph APIs to provide a unified programmability model that you can use to access the tremendous amount of data in Microsoft 365, Windows 10, and Enterprise Mobility + Security.

For compatibility information and fixed issues, see the Microsoft OneDrive Connector Release Notes.


To use this connector, you must be familiar with:

  • Microsoft Graph API 1.0

  • Anypoint Connectors

  • Mule runtime engine (Mule)

  • Elements and global elements in a Mule flow

  • Creating a Mule app using Anypoint Studio (Studio)

Before creating an app, you must have:

  • Credentials to access the target resource

  • Anypoint Studio version 7.3.5 or later

Common Use Cases for the Connector

Some common use cases for OneDrive Connector include:

  • Sales Operations

    • When a sales contract comes in through the Salesforce CRM system, upload the contract to OneDrive and collaboratively review the contract with the Deal Desk. You can assign approval tasks to notify the contract owner when a contract is approved or rejected.

    • When a new budget proposal or customer invoice is generated, upload the documents to OneDrive and collaborate with the accounting team for their review. You can assign tasks to notify the invoice owner when an invoice is approved or rejected.

    • When an opportunity is closed (won), create a folder structure in OneDrive based on a predefined template.

  • Employee onboarding and offboarding

    • When new employees start their jobs, existing resources can be shared with them via OneDrive.

    • Create a new folder in OneDrive and share it with the new employee so they can upload documents to it.

    • After an employee leaves the company, all documents used or uploaded can be moved or deleted (GDPR).

  • Health care
    Share sensitive patient data with the departments that are allowed to access the information by using OneDrive to share the files, and allow access to the relevant parties.

Authentication Types

OneDrive Connector uses the following authentication methods:

  • OAuth 2.0 authorization code grant connection type, which is used in applications that are installed on a device to gain access to protected resources.

  • OAuth 2.0 client credentials grant, which uses the identity of the application to access web-hosted resources.