Data Factory Pipeline, I want to Publish my trigger that I have created through a Http request, is this at all possible.
Hello,
I have created a Data Factory Pipeline with help from the below links using a HTTP Rest API call.
https://learn.microsoft.com/en-us/rest/api/datafactory/pipelines/create-or-update?view=rest-datafactory-2018-06-01&tabs=HTTP#code-try-0
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.