Created
November 26, 2024 17:33
-
-
Save fabiocannas/0c0b7a509d957ec665ae1d2f0b0e426b to your computer and use it in GitHub Desktop.
Debug Azure Function App event grid trigger using ngrok
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install ngrok via Chocolatey with the following command: choco install ngrok | |
ngrok config add-authtoken <auth_token> | |
ngrok http http://localhost:7071 --host-header="localhost:7071" | |
In Event Grid System Topic, create an event subscription of type web hook: | |
https://<random_identifier>.ngrok-free.app/runtime/webhooks/EventGrid?functionName=<function_name> | |
Set filter to event types | |
Enable subject filtering -> /blobServices/default/containers/eventhubcapture/blobs/ | |
MSFT Learn how-to: | |
https://learn.microsoft.com/en-us/azure/communication-services/how-tos/event-grid/local-testing-event-grid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment