You are configuring an Azure Event Grid system to route custom application events to an Azure Function webhook. To ensure secure communication, you decide to use Event Grid custom topics with Azure AD authentication. Which configuration step is required on the Azure Function endpoint to authenticate incoming events from Event Grid?
Endpoints must validate their ownership by responding to the validation handshake request sent by Event Grid upon creation.
Why this answer
Azure Event Grid supports Webhook validation handshake by sending a Subscription Validation Event containing a validation code, which the webhook endpoint must echo back.