How to create a logic app to store a file in an Azure Repo

armindom 1 Reputation point
2020-07-15T19:54:15.553+00:00

Hi

I want to make an automatic backup /versioning of some files using and Azure Repo and Loggic Apps but can't find a connector. Is there an easy way to do so?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,837 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,928 questions
{count} votes

2 answers

Sort by: Most helpful
  1. MayankBargali-MSFT 68,396 Reputation points
    2020-07-16T11:04:59.827+00:00

    Hi @armindom

    You can try sending attachment: https://learn.microsoft.com/en-us/connectors/visualstudioteamservices/#sending-attachments that creates file attachments using Send an HTTP request to Azure DevOps action

    Then you can use create blob action to store those files in storage account: https://learn.microsoft.com/en-us/connectors/azureblobconnector/#create-blob

    For versioning, you can enable the blob versioning feature: https://learn.microsoft.com/en-us/azure/storage/blobs/versioning-overview

    Azure DevOps Connector: https://learn.microsoft.com/en-us/connectors/visualstudioteamservices
    Devops Supported Actions: https://learn.microsoft.com/en-us/connectors/visualstudioteamservices/#actions
    Devops Supported Triggers:https://learn.microsoft.com/en-us/connectors/visualstudioteamservices/#triggers

    This is the sample code which can help you to understand how you can work with logic apps and dev ops: https://learn.microsoft.com/en-us/samples/azure-samples/azure-logic-apps-pipeline-orchestration/azure-devops-orchestration-with-logic-apps/


  2. Koppolu Swapna 1 Reputation point
    2021-10-04T19:02:17.153+00:00

    HI MayankBargali-MSFT/armindom,

    I also come across same kind of requirement,

    Could you please help me - explain the steps in detail?

    is that possible to store attachments of a work item in Azure git repos?

    or how to send the files from Azure logic apps to Azure git repos?

    0 comments No comments