Send Email when file lands in Azure Data Lake Storage Gen 2

pm-syn-lover 36 Reputation points
2021-08-24T13:37:25.287+00:00

Currently using Synapse to process data, and I have a folder in my Azure Data Lake Storage Gen 2 that is called 'Failed'. When any bad data is processed and placed in 'Failed' I want to send an email notification. I was thinking I could do this with Logic Apps but I'm not seeing that capability. Any suggestions?

Thank you!!

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,562 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,553 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Michael Taylor 60,326 Reputation points
    2021-08-24T13:55:21.413+00:00

    You can do this with a durable function which is a specialized Azure Function. Logical apps can also do it. The differences boil down to how much integration and customization you want. Refer to this doc on the official differences.

    In both cases you define a storage trigger that monitors the container you care about. When a blob is added or updated in the container then the trigger is fired and Azure spins up your DF or LA.

    1. Create a new DF/LA in Azure. The recommendation is to use consummation model.
    2. The DF/LA will either directly contain the logic to process the request or call out to an API that does.
    3. Add a storage trigger that points to the container you want to monitor. For logical apps you can see the instructions here.

  2. Pramod Valavala 20,656 Reputation points Microsoft Employee Moderator
    2021-08-25T17:40:24.12+00:00

    @pm-syn-lover Azure Data Lake Storage Gen 2 supports events via Azure Event Grid that can be used to trigger a logic app that sends your email using the outlook connector.

    With Azure Event Grid, you can also filter events to the ones that you are interested in.

    0 comments No comments

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.