Event Grid Subscription create issue

Bimala Shrestha 5 Reputation points
2024-11-06T11:07:21.04+00:00

Deploying Event Subscription: figsflowemail

Deployment has failed with the following error: {"code": "URL validation", "message": "Webhook validation handshake failed for https://email..................................... Http POST request failed with response code Unknown. For troubleshooting, visit https://aka.ms/esvalidation. Activity id:5ec939e2-138b-4078-aca1-0b71f83b5941, timestamp: 11/5/2024 7:27:57 AM (UTC)."}

Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
406 questions
{count} vote

2 answers

Sort by: Most helpful
  1. JananiRamesh-MSFT 29,191 Reputation points
    2024-11-07T05:20:45.38+00:00

    @Bimala Shrestha Thanks for reaching out. I understand that you're trying to create a EventGrid subscription with destination as webhook endpoint. As Sander mentioned above EventGrid does a test on the first call to check out if you are the owner of the endpoint I see here the endpoint is https://email.figsflow.com/email-event-status/event.

    Did https://email.figsflow.com/email-event-status/event. handle the validation payload and return a 200 status code?

    figsflow seems to be a 3rd party SAS product - Proposal, Engagement Letter Software for Accountants | Figsflow

    Could you please tell us how are you able to handle the validation payload sent by EventGrid?

     For more information please refer: https://learn.microsoft.com/en-us/azure/event-grid/troubleshoot-subscription-validation

    0 comments No comments

  2. Sander van de Velde | MVP 33,951 Reputation points MVP
    2024-11-08T11:22:38.58+00:00

    Hello @Bimala Shrestha ,

    welcome to this moderated Azure community forum.

    So what I understand from the comments you have a web api and you receive a request coming from an EventGrid Topic destination, type Webhook?

    Can you confirm that?

    Did you see the 'validationUrl' in the request?

    Your endpoint needs to respond on that url so you confirm you are the owner of the api.

    I used a webhook in the past and my Azure Function having an EventGridTrigger takes care of this confirmation automatically.

    As JananiRamesh-MSFT mentioned, it seem you use a third party service. This one-time validation call needs to be addressed.


    If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.