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
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.
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.
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
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically