Skip to content

Start-AzDataFactoryV2Trigger Result is not visible in Data Factory #28566

@MarkVerbaasRabo

Description

@MarkVerbaasRabo

Description

We only want to start the Data Factory timed triggers when it is the production environment, so in our data factory pipeline deployment (through AzDO) we have an conditional task that starts the triggers only there.

The script seems to work perfectly and triggers are started. Unfortunately the ADF UI does't reflect the state:

Image

While the Powershell thinks it is good:
Get-AzDataFactoryV2Trigger -ResourceGroupName $resourceGroupName -DataFactoryName $DataFactoryName | fl RuntimeState

RuntimeState : Started
RuntimeState : Started
RuntimeState : Started
RuntimeState : Started
RuntimeState : Started
RuntimeState : Started
RuntimeState : Started
RuntimeState : Started

Issue script & Debug output

$triggers = Get-AzDataFactoryV2Trigger -ResourceGroupName $resourceGroup -DataFactoryName $DataFactoryName
foreach ($trigger in $triggers) {
    Start-AzDataFactoryV2Trigger -ResourceGroupName $resourceGroup -DataFactoryName $DataFactoryName -TriggerName $trigger.Name -Force
}

Environment data

ame                           Value
----                           -----
PSVersion                      7.5.3
PSEdition                      Core
GitCommitId                    7.5.3
OS                             Darwin 25.0.0 Darwin Kernel Version 25.0.0: Mon Aug 25 21:17:51 PDT 2025; root:xnu-12377.1.9~3/RELEASE_ARM64_T6000
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Module versions

Get-module -name *az*                                                                                               

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Script     2.16.0                Az.Accounts                         {Add-AzEnvironment, Clear-AzConfig, Clear-AzContext, Clear-AzDefault…}

Error output

There is no error, but an mismatch in results

Metadata

Metadata

Assignees

No one assigned

    Labels

    Data FactoryService AttentionThis issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reported

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions