Connect OneDrive To Google Drive With Azure Logic Apps

Azure Logic Apps

Logic App is a cloud-based service. It 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 businesses. The users build workflows that automatically do some business tasks and processes across applications and services. We can connect our business-critical apps and services with Azure Logic Apps, automating your workflows without writing a single line of code.

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

Connect OneDrive to Google Drive

Here, we can connect OneDrive and Google Drive to back up your files.

  • OneDrive
    OneDrive is a file-hosting service operated by Microsoft as part of its suite of online services. It allows 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. Login here
  • Google Drive
    Google Drive is a file storage and synchronization service developed by Google. Google Drive allows users to store files in the cloud, synchronize files across devices, and share files. Login here

Now, we are connecting the OneDrive and Google Drive to back up their data.

Why We Connect OneDrive to Google Drive

OneDrive and Google Drive are powerful and convenient Cloud services that are widely used worldwide. They provide a version of desktop and phone for their users so that they can easily access these files whenever and wherever. Many users store their personal files like photos, music, videos, and movies in the cloud.

However, users have to store a part of their files on one Cloud drive due to the storage limitation. The reason to connect OneDrive to Google Drive is to keep our data safe. If you lost files in one Cloud drive, but we have still copies in other Clouds. As a result, it makes file management easy and effective.

Create an Azure Logic App between OneDrive to Google Drive

Here, we can connect OneDrive and Google Drive to back up your files.

Prerequisites

  • Microsoft Azure Account.
  • A Microsoft OneDrive account.
  • A Google account.

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

Step 1. Login to https://portal.azure.com/

In the dashboard, choose Create a Resource and click on Integration. Now choose Logic App,

Logic Apps

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

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. Configure the data by signing in to the OneDrive and Google Drive.

  • Search one drive on the search bar.
    Search bar
  • Sign in to OneDrive.
    OneDrive
  • Next, we choose the unique folder name for connecting the drives. Before choosing the folder, we must create it in OneDrive.
    Connecting the drives
  • Choose the folder where the files are uploaded.
    Files uploaded
  • Next, set the Time interval and Frequency for checking the workflow.
    Workflow

Step 5.

  • Next, search Google Drive.
    Google Drive
  • Then, choose the Action for the workflow.
    Action for the workflow
  • We give permission to access our accounts.
    Access accounts
  • Next, we choose the unique folder name for connecting the drives. Before choosing the folder, we must create it in Google Drive.
    Azure Logic App example
  • Choose the File name and File Content.
    File Content

Step 6. Now we save the workflow and run it.

Save

Output

Run

Now, we have added the image to OneDrive.

OneDrive image

The same file is copied into the Specific Folder in Google Drive.

Specific Folder

Workflow

Workflow

Workflow Summary

Workflow Summary

Summary

I hope you understand how to create a Logic App between OneDrive and Google Drive for backing up our files and how to run it. Stay tuned for more Logic App articles.


Similar Articles