Azure Logic app- cant find the properties of Blob

ankit kumar 101 Reputation points

I am using logic app and have called this action get metadata for blob and I get the properties :

"Id": "Jtestakajsdjas==",
"Name": "test.json",
"DisplayName": "test.json",
"Path": "/resistor-v3/test.json",
"LastModified": "test",
"Size": 2480,
"MediaType": "application/octet-stream",
"IsFolder": false,
"ETag": """",
"FileLocator": "testskjhska",
"LastModifiedBy": null

I don't see content MD5 property in here, though i can see it when I go to my blob and right click to properties. Is this a default behavior of logic app?? how can i get the ContentMD5 property in logic app?

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

1 answer

Sort by: Most helpful
  1. svijay-MSFT 5,201 Reputation points Microsoft Employee

    Unfortunately, the get metadata for blob only returns the above mentioned metadata and not all the meta data at this point of time.

    Almost similar requirement is voiced out here - though the title says custom metadata, If you read through the comments - you could see similar concerns of not all metadata being pulled is voiced out.


    Having said that the alternative would be to make use REST API to fetch the metadata.

    Get Blob Properties

    Get Blob Metadata

    You can use the above the REST APIs in the HTTP Action of the Logic App and still meet your requirement.

    Sample Output :


    **Update : **

    Like discussed, the response header contains the content length which more than the 2 GB & hence the error.
    The other alternative for this would be to make use of the Azure Functions in order issue the request in order to overcome this.