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

This post has been republished via RSS; it originally appeared at: New blog articles in Microsoft Community Hub.

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:

 

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

 

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

 

talsaifi_2-1728378545279.png

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.