Do you have any POC related to it.
Read data from storage container using logic app and push the file onto on-premises vm server
We are working on creating a logic app which reads data from storage container when a file is placed in it and push the file onto on-premises vm server
2 answers
Sort by: Most helpful
-
-
Khadeer Ali 1,130 Reputation points Microsoft Vendor
2024-11-20T03:53:58.4933333+00:00 Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
To create a Logic App that reads data from a storage container and pushes the file onto an on-premises VM server, you can follow these steps:
- Create a new Logic App in the Azure portal.
- Add a trigger to the Logic App that fires when a new file is added to the storage container. You can use the "When a blob is added or modified (properties only)" trigger from the Azure Blob Storage connector.
- Add an action to the Logic App that retrieves the contents of the file from the storage container. You can use the "Get blob content" action from the Azure Blob Storage connector.
- Add an action to the Logic App that pushes the file onto the on-premises VM server. You can use the "Create file" action from the File System connector to create the file on the VM server.
- Configure the "Create file" action to use the on-premises data gateway to connect to the VM server. You can install the on-premises data gateway on the VM server and configure it to work with your Logic App.
- Save and test the Logic App to ensure that it is working as expected.
With these steps, you should be able to create a Logic App that reads data from a storage container and pushes the file onto an on-premises VM server.
Please refer the below document for connection to on-premises data sources from Azure Logic Apps
Connect to on-premises data sources from Azure Logic AppsIf this answers your query, do click
Accept Answer
andYes
for was this answer helpful. And, if you have any further query do let us know.