Copy Files From SharePoint To An Azure Blob Storage Using Microsoft Flow

Introduction

In this article, you will see how to copy files from SharePoint to Azure Blob storage using Microsoft Flow. Whenever a file is added to a SharePoint document library folder, the Flow copies the file to an Azure blob storage.

Prerequisites

Steps involved -

  1. Navigate to the Flow site.
  2. On the top navigation, click My flows.
  3. Click "Create" from templates.
  4. Type “Azure blob” in the search box, select "Copy files from a SharePoint folder to an Azure Blob" folder.

    Copy Files From SharePoint To An Azure Blob Storage Using Microsoft Flow
  1. Sign up for your SharePoint site by passing the credentials.
  2. Click "Create" to connect to the Azure Blob Storage.

    Copy Files From SharePoint To An Azure Blob Storage Using Microsoft Flow
  1. Enter the following details and click "Create".

    Copy Files From SharePoint To An Azure Blob Storage Using Microsoft Flow
    • Connection Name –a user-friendly name for the connection
    • Azure Storage Account Name & Azure Storage Account Access Key – Copied from Azure Storage Account settings page as shown in the below screenshot.

      Copy Files From SharePoint To An Azure Blob Storage Using Microsoft Flow
  1. When a file is created trigger – Select the site address and folder Id from where the documents have to be copied.
  2. Create file action – Select the Folder path where the document to be stored and the default values for the parameters can be edited by clicking "Edit".

    Copy Files From SharePoint To An Azure Blob Storage Using Microsoft Flow
  1. Click "Save" once the changes are completed.
  2. Click "Test" to test the workflow.

    Copy Files From SharePoint To An Azure Blob Storage Using Microsoft Flow

    Copy Files From SharePoint To An Azure Blob Storage Using Microsoft Flow
  1. Navigate to the SharePoint Document library and upload the document.
  2. Flow ran successfully as shown below.

    Copy Files From SharePoint To An Azure Blob Storage Using Microsoft Flow
  1. Navigate to the Azure Blob folder to verify the copied document.

    Copy Files From SharePoint To An Azure Blob Storage Using Microsoft Flow

Summary

Thus, in this article, you saw how to copy files from SharePoint to an Azure Blob Storage using Microsoft Flow.


Similar Articles