An Azure service for ingesting, preparing, and transforming data at scale.
Hi Rifatul Islam,
Welcome to Microsoft Q&A,
The root cause here is that your retry loop is using a fixed time delay (180 seconds) without first checking whether the trigger has actually finished provisioning before attempting to start it again. The ADF trigger goes through an intermediate Provisioning state after being created, modified, or stopped, and calling StartAsync while it is in that state always returns this error, regardless of how long you wait.
The fix: poll the trigger's provisioning state before calling StartAsync
Instead of retrying blindly after a fixed delay, check that the trigger's ProvisioningState is Succeeded before attempting to start it.
triggerResource = await dataFactory.GetDataFactoryTriggers().GetAsync(triggerName);
var provisioningState = triggerResource.Value.Data.Properties.ProvisioningState;
Your current code retries up to 2 times with 180-second delays, but it does not check whether the trigger is actually in a stable state before each attempt. If the trigger takes longer than 180 seconds to finish provisioning (which can happen for storage event triggers with large subscriber counts or during ADF backend updates), all retries will hit the same error. This is a known pattern, adding a wait between trigger operations avoids the error, but the wait duration needs to be long enough for provisioning to complete, and using a fixed delay is unreliable
Please Upvote and accept the answer if it helps!!