Can I locally test Azure Function Event Grid Topic Trigger locally (Cloud Event Schema)

EnenDaveyBoy 61 Reputation points
2021-12-02T17:55:45.93+00:00

I am trying to test Azure Functions Event Grid Trigger locally and failing misserably, I am set for cloud events. I can send the event without a problem)

using .net 5 isolation functions v3 functions

I am trying to use ngrok.

But when I try to register the web hook it says failed handshake and the ngrok console window says /runtime/webhooks/EventGrid 400 Bad Request

the trigger is hit in any way or not one i can debug,so i can'tlook for validation pre flight requests and I ama little bit stock.

I can'tfind any tutorials or info i can put to use for Cloud Event Schema

Any suggestions would be appriciated.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,014 questions
Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
296 questions
{count} votes

1 answer

Sort by: Most helpful
  1. EnenDaveyBoy 61 Reputation points
    2021-12-06T12:32:12.167+00:00

    thanks i got it working, but couldn't find anywhere to close the system, part of the issue was I didn't change the Method to Option in the function trigger

    0 comments No comments