Soru

Zorluk: KolayImplement Azure Event Grid Solutions

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?

  1. validationCodeCevap
  2. B
    validationToken
  3. C
    sasToken
  4. D
    accessPolicy

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

1
Identify the mechanism Azure Event Grid uses to verify ownership of a Webhook endpoint during subscription.
Azure Event Grid sends a subscription validation event containing a unique validation code in the data payload.
This prevents abuse by ensuring the endpoint is configured to receive Event Grid events.
2
Determine the correct property name to be returned in the validation response.
The property is named validationCode.
The validation handshake protocol requires the client to echo the validationCode back to Azure Event Grid.

Anahtar Kavram

Azure Event Grid Webhook endpoint validation handshake
Bu soruyu puanla