Why Isn’t My Event Grid Invoking My Azure Function?

0
10
Asked By TechSavvy123 On

I'm having a tough time figuring out why my Event Grid doesn't trigger my Azure Function when it receives events. I set up a public Event Grid and a public Flex consumption function (event grid trigger) with VNet integration and vnet_route_all enabled. I also subscribed to the event grid and tested it by sending events through Postman, but my function app isn't showing any invocations, despite the Event Grid successfully receiving the events. Any ideas on what might be going wrong?

5 Answers

Answered By FunctionFrenzy42 On

Honestly, I recommend reconsidering using Azure Functions. More complex solutions often face issues with function apps. I’m currently pushing for migration to containerized apps with FastAPI, which could save us time in the long run.

Answered By RetailRebel93 On
Answered By CloudChallenger22 On
Answered By CloudWhisperer87 On

Try enabling diagnostic logging for the Event Grid and check the Delivery Failures table. Also, double check that the subscription from your Event Grid to the Function App is still active; I've seen cases where it drops unexpectedly.

Answered By DevGuruMark On

Hold on, you mentioned you vnet integrated your function app, but that means it’s not public. You’ll need a private endpoint for the Event Grid to be able to communicate properly. If you’re going for a real-time trigger, maybe consider having the Event Grid send messages to a storage queue instead, and let the function app read from that queue instead.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.