AZ CLI - Set multiple values in a property - Pipeline Trigger

Martull 1 Reputation point


I want to set the frequency of a property to more than one value. It is a Pipeline Trigger in Azure Data Factory.

If I do it via Azure Portal, I can retrieve the current value via CLI

az datafactory trigger show --factory-name poc-df-01 --resource-group poc-df-rg --name trigger_poc


To set the value to Tuesday and Friday, how can I do it?

az datafactory trigger update --factory-name poc-df-01 --resource-group poc-df-rg --name trigger_poc --set properties.recurrence.schedule.weekDays[0]="Tuesday Friday"

It doesn't work, nor other tests I have done:

.weekDays[0]="Tuesday" "Friday"

In all cases includes both days as a string, and In the Portal you can see that no day is selected:





I have tried what it states in the Official Doc without success. And I know I am missing something. Probably the stupidest thing xD

How can I do it?

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

1 answer

Sort by: Most helpful
  1. Shekhar Khadka 0 Reputation points

    Hi @Martull did you figure out any resolution on this? Actually I also stuck in updating the the weekDays to just set for couple of days like "sunday" and "monday" via azure CLI