Forum Discussion

azurelearner95's avatar
azurelearner95
Copper Contributor
Feb 20, 2024

Powershel not showing my ADF Triggers

Hi,
I would like to know if anything is wrong with my data factory or PowerShell.
I have two triggers in my pipeline but all the Powershell scripts i tried didn't output any of them.

 

Get-AzDataFactoryV2Trigger -DataFactoryName df-new-dev -ResourceGroupName rg_ci_cd_new_dev


Get-AzDataFactoryV2Trigger -ResourceGroupName "rg_ci_cd_new_dev" -DataFactoryName "df-new-dev" -TriggerName "trigger2"


{
"name": "trigger1",
"properties": {
"annotations": [],
"runtimeState": "Started",
"pipelines": [
{
"pipelineReference": {
"referenceName": "upload from storage to sql",
"type": "PipelineReference"
}
}
],
"type": "ScheduleTrigger",
"typeProperties": {
"recurrence": {
"frequency": "Month",
"interval": 1,
"startTime": "2024-02-20T03:30:00",
"endTime": "2024-02-25T03:30:00",
"timeZone": "Mountain Standard Time",
"schedule": {
"minutes": [
0
],
"hours": [
20
],
"monthDays": [
25
]
}
}
}
}
}

 

 

{
"name": "trigger2",
"properties": {
"annotations": [],
"runtimeState": "Started",
"pipelines": [
{
"pipelineReference": {
"referenceName": "upload from storage to sql",
"type": "PipelineReference"
}
}
],
"type": "ScheduleTrigger",
"typeProperties": {
"recurrence": {
"frequency": "Month",
"interval": 1,
"startTime": "2024-02-20T22:17:00",
"endTime": "2024-02-29T22:17:00",
"timeZone": "Mountain Standard Time"
}
}
}
}

No RepliesBe the first to reply

Resources