You are configuring a custom Webhook endpoint to receive events from Azure Event Grid. During the creation of the event subscription, Azure Event Grid sends a subscription validation request to your endpoint. To successfully complete the validation handshake under the default Event Grid event schema, which property from the event payload data object must your endpoint return in the validation response body?
- validationCodeCevap
- BvalidationToken
- CsasToken
- DaccessPolicy
Cevap
validationCode
The correct answer is validationCode. When Event Grid sends a subscription validation event to a Webhook endpoint using the default Event Grid schema, it includes a validationCode inside the data object of the payload. The endpoint must echo this validationCode back in the response body to successfully complete the validation handshake.
Adım Adım Çözüm
Anahtar Kavram
Azure Event Grid Webhook endpoint validation handshake