az datafactory trigger list --factory-name <factory> --resource-group <resource-group> --output tablePipeline trigger
In Azure Data Factory and Azure Synapse, a pipeline trigger defines when and how a pipeline execution starts. Triggers can be scheduled, tumbling-window based, storage-event based, or custom-event based, and they can pass parameter values into the pipeline run they create.
Source: Microsoft Learn - Pipeline execution and triggers in Azure Data Factory and Azure Synapse Reviewed 2026-05-19
- Exam trap
- Forgetting to start a trigger after publishing it, then assuming the pipeline will run because the definition exists.
- Production check
- List triggers and confirm expected production triggers are started while retired or test triggers are stopped.
Article details and learning context
- Aliases
- None listed
- Difficulty
- intermediate
- CLI mappings
- 5
- Last verified
- 2026-05-19
Understand the concept
In plain English
A pipeline trigger is the rule that starts a Data Factory or Synapse pipeline automatically. Instead of an operator pressing Run, the trigger starts the pipeline on a schedule, on a recurring window, or when an event such as a new storage object arrives. The trigger can also pass values into pipeline parameters, such as the trigger time or file name. A trigger is not the pipeline itself; it is the starting mechanism and timing contract for pipeline runs.
Why it matters
Pipeline triggers matter because production data platforms need work to start at the right time and for the right reason. A bad trigger can miss a required load, start too often, process the wrong file, or launch overlapping runs that compete for integration runtime and downstream capacity. Good trigger design turns business timing into an explicit technical contract: what starts the pipeline, which parameters are passed, what happens on late data, and who can pause or change the schedule. Triggers are also central to migration planning because cutovers often depend on stopping legacy schedules and enabling new ones without double-processing data.
Technical context
In Azure architecture, pipeline triggers live in the orchestration control plane for Data Factory and Synapse. A trigger references one or more pipelines and can provide parameter mappings for each pipeline run. Schedule and tumbling-window triggers use time rules, while storage and custom event triggers depend on event delivery. Trigger state, start and stop operations, event subscription status, time zone settings, recurrence, dependencies, and run history connect the pipeline design to business calendars, file arrivals, and upstream platform events.
Exam context
Compare with
Where it is used
Where you see it
- In the pipeline editor Add trigger menu, users choose manual run, existing trigger, or new schedule, tumbling-window, storage-event, or custom-event trigger during authoring, activation, and post-publish review.
- In trigger JSON or ARM templates, recurrence, time zone, pipeline references, parameter mappings, and event source filters define start behavior for release and drift reviews.
- In Monitor trigger-run views and CLI output, operators inspect trigger state, fire time, status, run ID, linked pipeline execution, event delivery health, and compliance evidence.
Common situations
- Start predictable daily or hourly loads with schedule triggers when source systems publish data on a reliable business cadence.
- Use tumbling-window triggers for time-sliced processing that needs dependency tracking, retry control, backfills, and no missing intervals.
- Launch ingestion from storage events when approved files arrive, reducing manual starts and avoiding wasteful polling loops.
- Pass trigger metadata into parameters so each run knows the window, folder, event, or source that caused it.
- Pause or disable automation during maintenance windows without modifying the pipeline body or breaking manual run capability.
Illustrative Azure scenarios
These examples show how the concept can affect design and operations. They are illustrative scenarios, not customer claims.
Scenario 01 Event-driven arrivals for airport operations data Scenario, objectives, solution, measured impact, and takeaway.
An airport technology team received gate-assignment and baggage-handling files from multiple operational systems. Schedules were too slow for peak travel periods, but manual starts created missed files and inconsistent parameter values.
- Start ingestion only when approved storage paths receive new files
- Pass file metadata into the pipeline for validation and routing
- Avoid duplicate processing during bursts of operational updates
- Give airport operations evidence that each file arrival triggered processing
The team configured storage-event pipeline triggers for approved containers and prefixes, then passed folder path, file name, and trigger time into pipeline parameters. The pipeline validated file naming and airline code before copying data into the operational lake. Trigger state and event subscription status were checked by CLI during each deployment. To prevent duplicate downstream work, the pipeline recorded processed file identifiers and rejected repeats. The operations workbook correlated trigger runs with pipeline runs, so support staff could show whether a file failed to arrive, the trigger failed to fire, or a pipeline activity failed after start.
- Manual starts for routine operational files dropped by 85% during the first month
- Average gate-data freshness improved from fifteen minutes to under four minutes after file arrival
- Duplicate file processing fell to zero after trigger metadata validation and processed-file checks
- Support staff resolved arrival disputes with trigger-run and pipeline-run evidence instead of email timestamps
Pipeline triggers connect source events to governed processing while still giving operators a traceable start record.
Scenario 02 Time-windowed replenishment for grocery distribution Scenario, objectives, solution, measured impact, and takeaway.
A grocery distributor calculated replenishment needs for temperature-sensitive products every two hours. The previous schedule trigger sometimes overlapped during source delays, creating duplicate recommendations for the same stores.
- Process each two-hour interval once with clear dependency tracking
- Backfill missed windows after source delays without manual pipeline edits
- Prevent overlapping runs from overloading warehouse databases
- Give supply-chain planners confidence in recommendation freshness
The data platform team replaced the broad schedule trigger with a tumbling-window trigger tied to a replenishment pipeline. Window start and end values were passed as pipeline parameters and used to filter source data. The pipeline wrote a processing ledger keyed by window and region, while dependencies prevented later windows from finalizing before required source extracts arrived. Operators used CLI to stop the trigger during warehouse maintenance and restart it afterward. Missed intervals were backfilled from the trigger window history instead of by editing SQL filters manually.
- Duplicate replenishment recommendations decreased by 92% because each window had an explicit boundary
- Backfill preparation time fell from three hours to thirty minutes after late source deliveries
- Warehouse CPU spikes during replenishment dropped 28% because overlapping runs were controlled
- Planner complaints about stale recommendations fell after trigger windows were exposed in the monitoring workbook
A trigger can be the reliability boundary for data cadence, not just a timer that starts a pipeline.
Scenario 03 Security log cutover without double ingestion Scenario, objectives, solution, measured impact, and takeaway.
A security operations group migrated log enrichment from an old factory to a new Data Factory instance. Both factories could process the same storage events, so a careless cutover would have double-ingested security events into the SIEM pipeline.
- Switch event processing to the new factory without duplicate enrichment
- Maintain evidence of the exact cutover time and trigger state
- Verify event subscriptions before disabling the fallback factory
- Keep analysts supplied with enriched events during the migration window
The migration plan treated pipeline triggers as first-class cutover objects. Operators listed old and new triggers by CLI, exported trigger JSON, and verified event subscription status on the new factory. During the approved window, they stopped the old trigger, started the new trigger, and queried trigger-run records to confirm new events created pipeline runs. The pipeline used event metadata parameters to record source file and trigger time. A temporary workbook compared old and new trigger activity, giving security analysts confidence that events were neither duplicated nor missed.
- The cutover completed within the thirty-minute change window with no duplicate SIEM enrichment records
- Event ingestion gap was limited to six minutes and documented with trigger-run timestamps
- Analysts kept one monitoring view that showed old trigger stopped and new trigger active
- Rollback instructions were validated but not needed because trigger and pipeline evidence matched
Trigger state is a release-control point when two systems can start the same data workflow.
Azure CLI
After ten years around Azure delivery pipelines, I prefer Azure CLI for trigger work because trigger state is easy to misread during releases and cutovers. CLI commands show whether a trigger is started, stopped, mapped to the intended pipeline, and configured with the expected recurrence, event filter, or parameter payload. They also support controlled start and stop actions during maintenance without editing unrelated pipeline design. That matters when a paused trigger can miss a business load and an overactive trigger can multiply costs. Scripted checks give change managers clear before-and-after evidence, especially when schedule, tumbling-window, and storage-event triggers coexist in one factory.
Useful for
- List triggers in a factory and identify schedules, event triggers, and stale test triggers before a release.
- Show trigger JSON to verify recurrence, time zone, pipeline references, and parameter mappings.
- Start or stop a trigger during a controlled cutover, deployment, maintenance window, or incident response.
- Check event subscription status when a storage-event trigger stops creating expected pipeline runs.
- Compare trigger definitions between dev, test, and production to find drift in schedules or event filters.
Before you run a command
- Confirm tenant, subscription, resource group, factory name, trigger name, region, and whether the datafactory extension is installed.
- Decide whether the command is read-only, starts automation, stops automation, changes JSON, or creates cost-bearing pipeline runs.
- Review time zone, recurrence, event source, parameter mapping, provider registration, permissions, and output format before production changes.
- Coordinate start and stop commands with downstream teams so pausing or enabling a trigger does not surprise business users.
What the output tells you
- Trigger state shows whether automatic starts are active, stopped, or waiting, which is critical during incidents and deployments.
- Recurrence, time zone, and start time explain when the trigger should fire and whether daylight-saving assumptions are safe.
- Pipeline references and parameter mappings show which pipelines will run and what values they receive when the trigger fires.
- Event subscription status and trigger-run records help separate event-delivery problems from pipeline execution failures.
Mapped commands
Data Factory trigger commands
directaz datafactory trigger show --factory-name <factory> --resource-group <resource-group> --name <trigger-name> --output jsonaz datafactory trigger start --factory-name <factory> --resource-group <resource-group> --name <trigger-name>az datafactory trigger stop --factory-name <factory> --resource-group <resource-group> --name <trigger-name>az datafactory trigger get-event-subscription-status --factory-name <factory> --resource-group <resource-group> --name <trigger-name>Architecture context
A seasoned Azure architect designs pipeline triggers around business cadence, source-system behavior, and failure recovery. Schedule triggers work well for predictable loads, tumbling-window triggers help with time-sliced dependencies and backfills, and event triggers fit file-arrival workflows when storage events are reliable. The trigger should pass only the parameters needed by the pipeline and should be named so operators can distinguish daily, hourly, event, and backfill behavior. Architects plan start and stop procedures, overlapping-run rules, event subscription ownership, and monitoring before production. They also document time zones carefully, because a technically valid trigger can still violate a business calendar. Release evidence should show which trigger version was active, which parameters it passed, and why its cadence was approved.
- Security
- Security impact is direct when triggers start pipelines that move sensitive data or call privileged linked services. Only trusted operators and automation identities should create, start, stop, or update triggers. Event triggers also depend on storage or Event Grid integration, so event subscription ownership and source scope matter. Parameter mappings can expose file names, paths, tenant identifiers, or timing details in run history. A trigger that starts with broad paths or unvalidated event metadata can process data outside the intended boundary. Change approval should cover trigger state changes, recurrence edits, event source changes, and any parameter value passed into production pipelines.
- Cost
- Cost impact is indirect but often significant. A trigger is not usually the main billable object, but it controls how often pipelines create billable work. A recurrence set too aggressively can multiply copy operations, data flows, warehouse queries, and logging. An event trigger scoped too broadly can start pipelines for irrelevant files. A paused trigger can create later backfill costs when missed windows are processed in bulk. FinOps reviews should examine trigger frequency, event filters, overlap behavior, retry patterns, and whether old test triggers still start production-like workloads. Trigger ownership should be part of cost governance. Reviewing backlog risk monthly prevents abandoned schedules from quietly running obsolete pipelines.
- Reliability
- Reliability impact is direct because triggers determine whether the pipeline runs when data or business users expect it. Schedule mistakes, daylight-saving confusion, paused triggers, broken event subscriptions, and overlapping windows can all produce missing or duplicate data. Reliable designs monitor trigger state, trigger runs, associated pipeline runs, and event subscription status. Tumbling-window dependencies and retry settings should be reviewed for late-arriving data. Operators need a clear path for disabling triggers during maintenance, restarting them after deployment, and backfilling missed windows. The trigger should be tested with realistic parameter values before a production schedule is trusted. Testing after deployment or maintenance prevents duplicate starts and missed service commitments.
- Performance
- Performance impact is indirect because a trigger starts work rather than processing data itself, but timing and overlap strongly affect throughput. A trigger that launches many concurrent runs can overload integration runtime, storage, databases, or downstream APIs. A trigger that starts too late can miss reporting windows even if each pipeline runs quickly. Event triggers add event-delivery latency and can create bursty workloads when many files arrive together. Operators should measure trigger-to-run delay, run overlap, window duration, and downstream queueing. Performance tuning may require adjusting recurrence, event filters, batching, or dependency windows rather than changing pipeline activities. That review helps downstream systems receive work at the intended cadence before teams add compute or concurrency.
- Operations
- Operators manage triggers by listing them, checking state, reviewing recurrence or event configuration, starting and stopping them, and correlating trigger runs with pipeline runs. In real environments, trigger work often happens during releases, maintenance windows, cutovers, and incident response. Runbooks should document who can pause a trigger, how missed runs are backfilled, how event subscriptions are verified, and which downstream systems expect the schedule. Azure CLI is useful for exporting trigger JSON, comparing environments, and capturing evidence when a trigger fired but the pipeline failed or never started. Clear ownership also helps teams respond after source outages, calendar changes, support reviews, and approvals without leaving automation in an unsafe state.
Common mistakes
- Forgetting to start a trigger after publishing it, then assuming the pipeline will run because the definition exists.
- Using local time assumptions in a recurrence and creating runs that fire one hour off during daylight-saving changes.
- Leaving a test trigger active after validation, causing duplicate processing or unexpected integration runtime cost.
- Changing trigger parameter mappings without testing the downstream pipeline’s required parameters and validation logic.