2

I am using Azure function to subscribe events from event grid topic.

Due to some failure If my Azure function stopped to work then Azure event delivery fails.

How to get emails notification when this delivery fails.

Ivan Glasenberg
  • 29,865
  • 2
  • 44
  • 60
Nitin Jain
  • 129
  • 1
  • 14

1 Answers1

1

Azure Event Grid support dead-lettering. Once all retries have been exhausted, when dead-lettering is configure configured, failed events will be stored in Storage account as blobs. At that point, you're free to chose what mechanism to use to send your email notification. One option is to use Azure Function with Storage Blob trigger with SendGrid email binding.

Sean Feldman
  • 23,443
  • 7
  • 55
  • 80
  • Sir, I am using retry policy setting but don't want to send all failed event into blob storage. I am looking to get email notification whenever delivery fails. don't want to wait for blob storage new entities. – Nitin Jain Oct 21 '18 at 16:37
  • Wait is a strong word. You'll get notified withing a second that there was blob created. Aside from dead-lettering and responding to that, there's not much I know that's available for Event Grid as of now. – Sean Feldman Oct 22 '18 at 04:33