s

azure logic apps download file from url edit button Edit

author
Murugan Andezuthu Dharmaratnam | calendar 21 September 2020 | 6786

in this post, we will look at how to download a file from a URL to blog storage using logic apps. I will provide step by step instructions to do the same.

Step 1: Create a Logic App

    1. logon to azure. go to portal home https://portal.azure.com/#home
    2. click on Create a Resource
    3. click on Integration from list on the left
    4. select Logic App
    5. create
    6. select your subscription
    7. select a resource group
    8. give a name to the logic app
    9. click on review create

Once you have created the logic app, you need to open the logic app.

  1. Select the overview from the let menu
  2. Click on Edit from the top menu
  3. scroll down & select blank logic app

Download File Using HTTP Connector

  1. select HTTP
  2. select HTTP Again
  3. select GET method
  4. fill in the frequency 1 day

Save to Azure Blob Storage

click on Next Step and Add Azure Blob Storage

  1. select azure blob storage
  2. select create blob
  3. Give a connection Name
  4. enter Azure storage account name
  5. Give the azure storage access key
  6. click on create
  7. select the folder to save the file
  8. give the blob name mylogo.png
  9. select body for blob content

Click on save to save the code. Click on Run to run the logic app. You will see green checkmarks if it runs successfully. Now open the storage explorer and you can see that the file is downloaded to the container/folder you have specified.