Connect to OneDrive for Business using Azure Logic Apps

Connect to OneDrive for Business to manage your files. You can perform various actions such as upload, update, get, and delete on files.

You can get started by creating a logic app now, see Create a logic app.

Create a connection to OneDrive for Business

To create Logic apps with OneDrive for Business, you must first create a connection then provide the details for the following properties:

Property Required Description
Token Yes Provide OneDrive for Business Credentials

After you create the connection, you can use it to execute the actions and listen for the triggers described in this article.

Prerequisites

Before you can use your OneDrive for Business account with Logic Apps, you must authorize Logic Apps to connect to your OneDrive for Business account in the Azure portal.

Follow these steps to authorize Logic Apps to connect to your OneDrive for Business account:

  1. Sign in to the Azure portal.

  2. Under Azure services, select Logic Apps. Then, select the name of your logic app from the list.

  3. On your logic app's menu, select Logic app designer under Development Tools.

  4. In the Logic Apps Designer, select Show Microsoft managed APIs in the drop-down list, then enter OneDrive for Business in the search box. Select the trigger or action to use:

    Screenshot of Logic Apps Designer, showing recurrence trigger with OneDrive for Business API actions.

  5. If you haven't created any connections to OneDrive for Business before, follow the prompt to provide your OneDrive for Business credentials. These credentials are used to authorize your logic app to access your OneDrive for Business account's data:

    Screenshot of Logic Apps Designer, showing sign-in prompt for OneDrive for Business.

  6. Provide your OneDrive for Business username and password to authorize your logic app:

    Screenshot of OneDrive for Business sign-in page, showing sign-in prompt.

  7. The connection is now listed in the step. Select save, then continue creating your logic app.

    Screenshot of Logic Apps Designer, showing trigger with OneDrive for Business connection listed.

Connector-specific details

View any triggers and actions defined in the swagger, and also see any limits in the connector details.

More connectors

Go back to the APIs list.