Hi,
I have 2 data factories with several pipelines and scheduled triggers to call these. One of the data factories runs in live mode whilst the other is it GIT mode and tied to a repo/branch.
Recently I tried to update the schedule the triggers run on via Azure CLI with the following commands to stop / update / start each of the triggers:
az datafactory trigger stop --factory-name <factory name> --resource-group <rg-name> --name <trigger name>
az datafactory trigger stop --factory-name <factory name> --resource-group <rg-name> --name <trigger name> --set properties.recurrence.schedule.hours=[9]
az datafactory trigger stop --factory-name <factory name> --resource-group <rg-name> --name <trigger name> --set properties.recurrence.schedule.minutes=[3]
az datafactory trigger stop --factory-name <factory name> --resource-group <rg-name> --name <trigger name>
The responses all seem to be correct with --debug enabled on the above commands, including the updated values for the trigger schedules. This command also shows the triggers with updated values:
az datafactory trigger show --factory-name <factory name> --resource-group <rg-name> --name <trigger name>
I have found that although most work some of the triggers do not run to the expected updated schedule and none of the triggers in the Azure portal Datafactory UI show the updated values.
Can someone please explain where I'm going wrong here or what the correct process is for working with trigger schedules in CLI and web UI?
Is the Data factory tied to GIT maybe showing the GIT schedule values in the UI but accepting changes via CLI in the background? The live mode is also behaving the same so I'm not sure whats going on.
Thanks