Reputation: 1
We are trying to achieve event-based communication between 2 microservices Currently we have created 2 microservices with .Net Core.
We have created Event Grid to handle the communication between them. When we try to add endpoints to eventgrid and proceed with deployment then we are getting error as follows
Deployment has failed with the following error: {"code":"Url validation","message":"The attempt to validate the provided endpoint https://xxx.azurewebsites.net/runtime/webhooks/EventGrid failed. For more details, visit https://aka.ms/esvalidation."}
How can I resolve this?
Upvotes: 0
Views: 158
Reputation: 8235
I do recommend to read the following documents:
Event Grid trigger for Azure Functions
Event Grid security and authentication
Note, that the endpoint url of the EventGridTrigger function has the format:
https://{functionappname}.azurewebsites.net/runtime/webhooks/eventgrid?functionName={functionname}&code={systemkey}
Upvotes: 1