Connect Box To OneDrive Using Azure Logic Apps

Azure Logic Apps

Logic App is a cloud-based service that allows us to react to an event in one service (such as SharePoint online) and do something with the data from that event in another service (such as Twitter). It makes it practical and simple for business processes. The users build workflows that automatically perform some business tasks and processes across applications and services. We can connect our business-critical apps and services with Azure Logic Apps, automating our workflows without writing a single line of code.

Before reading this article, please go through some important article links mentioned below,

Here, we will see how to Connect Box to OneDrive using Azure Logic App automatically.


The box is a cloud computing business that provides file-sharing, collaborating, and other tools for working with files that are uploaded to its servers. Users can determine how their content can be shared with other users. Users may invite others to view and/or edit an account's shared files, upload documents and photos to a shared files folder (and thus share those documents outside Box), and give other users rights to view shared files. Login here.


OneDrive is a file-hosting service operated by Microsoft as part of its suite of online services. It allows the users to store files as well as other personal data like Windows Settings or BitLocker recovery keys in the cloud. Files can be synced to a PC and accessed from a web browser or a mobile device, as well as shared publicly or with specific people. Log into OneDrive from here.

Create a Logic App to Connect Box to OneDrive

Here, we need to connect Box to OneDrive.


  • Microsoft Azure Account
  • Box Account.
  • Microsoft OneDrive Account

Follow the below steps to build a Workflow using a template.

Step 1. Log into

In the dashboard, choose to create a resource and click on Integration. Now, select "Logic App".

Connect Box to OneDrive using Azure Logic Apps

Step 2. Enter the name you want to assign to the logic. Select the subscription and resource group where you organize related resources and the location where your logic app is stored. Then, click on "Create".


Here is the dashboard. Click on "Logic App Designer".

Logic App Designer

Step 3. Now, click on the Blank Logic App.

Blank Logic App

Step 4

Step 5. Configure the data by signing in to the Box and One Drive.

  • Search for Box in the search bar.
  • Choose the Triggers.
  • Sign in to Box.
    Sign in
  • We need to give permission to access our accounts
    Give permission
  • Next, we give grant access to Box
    Grant access
  • Next, we choose the Folder ID and then, set the time interval and frequency for checking the workflow as one minute.
    Folder ID

Step 6

  • Next, search for OneDrive.
  • Then, choose the action for the workflow.
    Create file
  • Next, Choose the Folder path, File Name, and File Content to save the files from Box.
    Folder path
  • Then, choose the fields you want.
  • The final workflow will be like this.
    Final workflow

Step 7. Now, let us save and run the workflow.



Upload the Files in the Box.


File Uploaded.

File Uploaded

Now, the File is copied into the OneDrive.

File is copied


I hope you understand how to connect the Box to OneDrive to save the file automatically and how to run it. Stay tuned for more Logic App articles.