Data Factory Pipeline, I want to Publish my trigger that I have created through a Http request, is this at all possible.

Clinton Morgan 0 Reputation points

I have created a Data Factory Pipeline with help from the below links using a HTTP Rest API call.

I have then Created the Trigger and linked it to the Pipeline. I have then tried to start the Trigger, but keep getting the below error.

  "error": {
    "code": "BadRequest",
    "message": "Missing or invalid pipeline references for trigger nameoftrigger",
    "target": "nameoftrigger",
    "details": null

If I go into Azure and to my Data Factory, Go to my triggers Start it manually then publish it, I can then manually stop it, go back to my API call and this time it will work.

Is there a way that I don't have to manually go and publish the trigger for the API calls to work.
As I will be creating multiple Pipelines and triggers and don't want to have to log on each time they are created.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,773 questions
{count} votes