-
Notifications
You must be signed in to change notification settings - Fork 83
Description
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