Synapse custom event trigger publish is not happening on event grid with master branch

Madhu Challapalli 20 Reputation points
2024-07-04T07:51:20.4733333+00:00

Hi all,

I have requirement to trigger synapse pipeline when I publish event on event grid.

Without git integration when I configure the Trigger and click on publish button, subscription is appearing on Event grid and trigger is working fine.

With git integration when I create a feature branch and configure trigger, I can't publish as publish button is disabled but can see the templates generated for tigger and pipeline in code.

When I merge code with master branch subscription is not reflecting on Event grid, I am not sure how to publish using git please help.

I tried to achieve it through azure cli but facing error - (Url validation) Webhook validation handshake failed for https://synapse.dev.azuresynapse.net/api/events. Http POST request failed with response code Unknown.

az eventgrid event-subscription create \
--source-resource-id "/subscriptions/subscriptionId/resourceGroups/ResourceGroup/providers/Microsoft.EventGrid/topics/EventGridTopic" \
--name eventgrd \
--endpoint-type webhook \
--endpoint "https://mysite.dev.azuresynapse.net/api/events" \
--included-event-types "CustomEvent"
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,627 questions
Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
343 questions
{count} votes