Azure Logic app- cant find the properties of Blob

ankit kumar 101 Reputation points
2020-10-06T14:24:18.427+00:00

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,996 questions
{count} votes

1 answer

Sort by: Most helpful
  1. svijay-MSFT 5,226 Reputation points Microsoft Employee
    2020-10-06T17:57:55.133+00:00

    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.

    30484-image.png

    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 :

    30562-image.png

    **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.