Storage blob content read in logic app

Azuretech 80 Reputation points

I have a logic app which is linked with automation runbook where we have defined parameters variables.

I want to add these parameter value from a blob storage , can we add this in logic app which reads a blob file(csv, json) and add the param value .

vmname, rg

vm1 , rg1

I want to read the value vm1 and rg1.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,711 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 67,081 Reputation points

    @Azuretech Thanks for reaching out. Azure logic app does have Azure Automation connector and you can leverage Create Job action to run your job and pass the dynamic parameter that is accepted by your job in the body property of the action.

    To get the content from the blob you can leverage the Get Blob content (V2) action then will return the base64 string and depending on the file type it can directly provide you the actual string or base64string and now you can convert this base64string to string content using base64String function. If it is json content string then you can use Parse JSON action to get the user-friendly fields or tokens for those properties. Now you can pass this value to your Create Job action.

    Feel free to get back to me if you need any assistance.

    0 comments No comments