Failed to publish and activate the trigger

Aaron Hu 20 Reputation points
2025-03-04T23:22:00.7066667+00:00

Hi,

I built a pipeline in Synapse and added an event trigger on it so the pipeline will be executed once a new file is uploaded to my storage account.

The issue is that I couldn't activate the trigger. When I started the trigger and clicked "Publish All", it showed an error message "Failed to activate file-added-etl (Trigger).

image I am pretty sure all dependencies were published and I have registered all required services including EventGrid and DataFactory.

I once succeed published and activated a trigger by simply trying multiple times.

Can anybody help and explain why this happens?

A lot of thanks!

Aaron

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.
5,228 questions
{count} votes

Accepted answer
  1. Ganesh Gurram 4,885 Reputation points Microsoft External Staff
    2025-03-06T03:42:54.23+00:00

    @Aaron Hu - I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer

    Ask: Failed to publish and activate the trigger

    Solution: The issue was resolved by performing the following steps:

    1. Deleted all EventGrid-related resources in the resource group.
    2. Re-registered the EventGrid and DataFactory services.
    3. Deleted the old trigger and created a new one.

    After completing these steps, the new trigger activated successfully.

    If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information. 

    If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue. 

     ............................................................................................

    Please don’t forget to Accept Answer and Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.