Skip to content

Some trigger are failing to Start #463

@Avasaramac

Description

@Avasaramac

Describe the bug
PLEASE HELP!

I am using adftools, which always worked but suddenly it has started to fail on its own recently.

I have uploaded code version 1 and version 2 in the reproduction steps attachments.

I tried code version 1 which is basically StopStartTriggers: true.

I tried code version 2 where StopStartTriggers: false, and used a text file with pre and post powershell steps. I even went up to 5 minutes of delay before starting the triggers.

I tried both the versions with PublishADFTask@1 and PublishADFTask@2

In all cases, I got the below error message.

Error Message:
Starting trigger: EventTrigger
##[error]HTTP Status Code: BadRequest
Error Code: BadRequest
Error Message: Resource cannot be updated during provisioning
Request Id: xxxxxxxxxxxxxxxxxxx
Timestamp (Utc):10/03/2025 14:01:04

To Reproduce
See attachments code v1 and code v2

Expected behaviour
The EventTrigger trigger

Should start either using StopStartTriggers: true

OR

by StopStartTriggers: false + TriggersList-Dev.txt reference.

Version of PowerShell module of:
PublishADFTask@1 and PublishADFTask@2

code v1.txt

code v2.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageIssue is under investigation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions