Set content-type using logic app standard built-in blob connector

  • Thread starter Thread starter talsaifi
  • Start date Start date
T

talsaifi

Many users are migrating from logic app consumption to logic app standard to utilize the great features that it provides.



When those users replace the blob managed connector with blob built-in connector, they miss the content-type advanced parameter of the managed create blob action.



talsaifi_0-1728377699994.png

For reference: Azure Blob Storage - Managed Connector | Microsoft Learn



The upload blob to storage container built-in action does not have this parameter and the connector determine content-type automatically based on the content of the blob content parameter.



talsaifi_1-1728378012787.png

For reference: Azure Blob Storage - Built-in Connector | Microsoft Learn



For users who wants to specify the content-type explicitly, they can pass the following json in the blob content parameter:



Code:
{
"$content-type": "application/octet-stream",
"$content": "blob content"
}



The built-in upload blob to storage container will look as follows:



talsaifi_2-1728378545279.png

Continue reading...
 
Back
Top