You are deploying a custom Webhook endpoint to receive events from an Azure Event Grid system topic. The Webhook endpoint is hosted on an internal system that is unable to return a synchronous validation response when the subscription is created. You need to manually validate the subscription.
Which two actions should you perform? (Select TWO)
- Extract the value of the validationUrl property from the validation request payload.Answer
- Send an HTTP GET request to the extracted validation URL.Answer
- CSend an HTTP POST request to the extracted validation URL containing the validation code in the request body.
- DGenerate a Shared Access Signature (SAS) token at the topic scope and send it to the Event Grid subscription endpoint.
Answer
Extract the value of the validationUrl property from the validation request payload, and send an HTTP GET request to the extracted validation URL.
To manually validate an Event Grid subscription for a Webhook endpoint, you must capture the validation request sent by Event Grid. From this payload, you extract the validationUrl. Performing an HTTP GET request to this URL completes the validation handshake. This is typical for scenarios where the endpoint is behind a firewall, on a private network, or hosted by a third-party service that cannot respond dynamically.
Step-by-Step Solution
Key Concept
Azure Event Grid subscription endpoint manual validation
Estimated Time:1m 30s