Accessing Custom Metadata in a Blob via Azure Logic App Trigger from Event Webhook

2024-10-30T17:08:46.45+00:00

How can custom metadata associated with a BLOB be accessed in an Azure Logic App triggered by an Event webhook?

I am trying to pass BLOB metadata to a Logic App, which will then send it via email when a BLOB is added to storage.

The metadata is defined on the Blob object as key-value pairs. An Event Subscription is triggered by a Blob Create event that sends a webhook to the Logic App. It appears that custom metadata is not included in the event schema and therefore not present in the payload.

The plan was to use the Get Blob Metadata (V2) action to retrieve the values and forward them to the next step, as this seemed like a logical choice. However, it does not work, even with the storage account and Blob values hardcoded in the Logic App. While it runs without errors, no metadata is accessible.

Is this possible?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,228 questions
Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
397 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.