Cloud service · Azure · Updated

Azure Storage Actions - Azure Storage Actions is a fully managed, serverless service that automates conditional data management operations across Azure Blob Storage and Azure Data Lake Storage accounts.

In short

Azure Storage Actions evaluates storage objects against conditions and applies operations such as tier changes, deletion, and tag updates without requiring custom processing infrastructure. Engineers define reusable storage tasks and assign them to storage accounts with a target scope, execution schedule, and report destination.

Cloud Services Hub →

9 key features of Azure Storage Actions

01
Conditional object selection

Combine supported object properties, naming patterns, metadata, and index tags to select data for processing. Use case-sensitive matching when letter case must affect the result, and validate conditions against representative objects.

02
Ordered storage operations

Apply multiple supported operations within one task, such as changing a blob's tier and then updating its tags. Configure operation ordering and success or failure continuation behavior so that later steps do not incorrectly imply that earlier changes succeeded.

03
Reusable task assignments

Separate processing logic from account-specific scope, schedule, and report settings. Assign a regional task to multiple storage accounts in the same region rather than maintaining duplicate definitions for each account.

04
Serverless execution at scale

Scan and evaluate large object populations without deploying enumeration scripts or managing a worker fleet. Execution is asynchronous, so use run status and reports instead of treating task submission as completion.

05
Previews and full-scope mock runs

Preview conditions during task composition and use mock runs to evaluate the assignment scope without changing objects. Inspect the generated report to confirm which blobs would match and which operations would be performed before enabling changes.

06
One-time and recurring execution

Configure assignments for one-off maintenance or scheduled housekeeping. Request a stop for an individual in-progress assignment run when intervention is necessary, then inspect completed work before rescheduling.

07
Automatic task update propagation

Changes to a task definition automatically apply to its existing assignments, with scheduled assignments using the updated definition on their next run. Review every affected assignment before changing shared conditions or destructive operations.

08
Execution reports and completion events

Use dashboards to inspect run summaries and execution reports to investigate object-level outcomes. Subscribe to completion events through Azure Event Grid to initiate report processing or operational notifications.

09
Identity-based access and declarative deployment

Authorize the task's managed identity with the Azure roles required for its operations. Deploy tasks and assignments through infrastructure as code, including report settings and role assignments, to support repeatable recovery and change review.

Where Azure Storage Actions is used

  1. 01
    Retention and expiry by business classification

    Combine object age with tags or metadata to apply different retention and deletion rules to different datasets. For example, distinguish call recordings containing trading instructions from routine support recordings, while respecting existing immutability and legal-hold protections.

  2. 02
    Access-tier cost optimization

    Move eligible objects to lower-cost tiers using naming conventions, file types, age, and other supported properties. Evaluate retrieval needs and storage tier charges before applying a policy broadly.

  3. 03
    Version and snapshot cleanup

    Manage the retention of supported blob versions and snapshots according to dataset protection requirements. Keep longer histories for sensitive datasets while removing eligible historical objects from lower-value datasets.

  4. 04
    Bulk archive rehydration

    Initiate supported tier changes for an archived dataset that must be made available for analysis or investigation. Plan for archive retrieval charges and rehydration time; submitting the operation does not make archived content immediately readable.

  5. 05
    Tag normalization and pipeline resets

    Initialize or reset supported blob tags across a selected dataset before introducing a new processing convention. For example, clear a processing-state tag on a scoped dataset before rerunning an analytics pipeline.

  6. 06
    One-time dataset cleanup

    Remove obsolete exports, redundant datasets, or expired temporary objects through a narrowly scoped assignment. Run a mock evaluation first and retain execution reports to review what the cleanup affected.

How Azure Storage Actions is priced

Task execution instance charge

Each execution of a storage task assignment incurs an execution instance charge. Repeated schedules produce separately billed executions, so estimate costs from the number of assignments and their run frequency.

Objects scanned and evaluated

A usage meter charges for the number of objects scanned and evaluated against task conditions, priced per million objects. A restrictive condition can reduce changes without necessarily reducing the objects evaluated; constrain assignment scope where practical.

Operations performed

A separate usage meter charges for operations performed on storage objects, priced per million operations. Include all configured operations when estimating the cost of a multistep task.

Associated storage and integration charges

Budget separately for applicable Azure Storage charges, including transactions, report storage, tier transitions, archive retrieval, and early deletion charges. Event delivery and downstream Functions or Logic Apps workflows can also incur their own service charges.

Services Azure Storage Actions works with

A common architecture separates storage policy execution from orchestration. Azure Storage Actions evaluates and modifies objects in Blob Storage or Data Lake Storage, while each assignment defines its account scope, schedule, and execution-report destination. Deploy regional task definitions and account-specific assignments through Azure Resource Manager or Bicep, and grant the task's managed identity only the permissions required for the configured operations.

For event-driven follow-up, route task completion events through Azure Event Grid to Azure Functions or Azure Logic Apps. A Function can read the execution report and summarize failed operations; a Logic Apps workflow can notify operators or coordinate subsequent processing. Completion is a signal to examine results, not proof that every object operation succeeded. Consumers should handle duplicate deliveries and use execution identifiers to correlate events with reports.

For data lake maintenance, keep cleanup schedules separate from ingestion and analytics windows, and verify hierarchical namespace feature compatibility. Preserve task configuration in source control and retain reports according to operational requirements. Storage redundancy and data protection remain responsibilities of the underlying storage architecture; Storage Actions does not create a recovery copy of processed objects.

Azure Blob Storage

Blob Storage is a primary execution target and stores task execution reports in the configured report location. For example, assign a task to an exports dataset to tier eligible older blobs and inspect the report for failed tier changes. Confirm account and blob feature compatibility before deployment.

Azure Data Lake Storage

Use storage tasks to manage eligible objects in data lake accounts without building a separate enumeration service. For example, select expired staging files by path pattern and age for cleanup after analytics processing. Check operation and attribute support for hierarchical namespace accounts instead of assuming every Blob Storage capability is available.

Event Grid

Storage Actions publishes events such as task-run completion through Event Grid. For example, route completion events to an operational endpoint that initiates execution-report analysis. Configure retry handling and dead-lettering where supported, and make consumers tolerant of duplicate event delivery.

Azure Functions

A Function can subscribe to Storage Actions events through Event Grid and perform custom follow-up processing. For example, after a run completes, retrieve its execution report, summarize failed object operations, and create a remediation work item. Check report outcomes rather than assuming a completion event means every object operation succeeded.

Logic Apps

Logic Apps can receive Storage Actions events through Event Grid to coordinate notifications and downstream workflow steps. For example, notify an operations team when a retention cleanup finishes and include a link to its execution report. Keep workflow completion separate from the success criteria for individual storage operations.

Azure Resource Manager

Manage task resources and storage-account task assignments declaratively through Azure Resource Manager, including Bicep deployments. For example, deploy the same reviewed retention definition into each required region with account-specific schedules, report containers, and role assignments. Store definitions in source control so accidental configuration deletion can be recovered without reconstructing tasks manually.

Azure Monitor

Azure Storage Actions publishes metrics for task runs and the objects they process. Use Azure Monitor to chart failed runs, set metric alerts, or query Storage Actions control-plane events by routing the Azure Activity Log to a Log Analytics workspace.

Azure Policy

Azure Storage Actions exposes storage tasks as a resource type that Azure Policy can evaluate. For example, a custom policy can audit storage tasks that lack a required ownership tag.

Azure portal

Azure Storage Actions has a dedicated portal interface for defining task conditions and operations, previewing which blobs match, and assigning tasks to storage accounts. The portal also shows run metrics and links to detailed execution reports.

Azure role-based access control (Azure RBAC)

Azure Storage Actions uses Azure RBAC to control who can manage tasks and what a task's managed identity can do in a target storage account. Grant the identity a data role that permits the configured operations, such as updating blob tags or deleting blobs.

What is Azure Storage Actions

2 min read

Azure Storage Actions provides managed execution for large-scale object storage maintenance. It can scan and process billions of objects across multiple storage accounts without requiring you to provision workers or implement blob enumeration yourself. Its scope is storage data management rather than arbitrary application code or transformations of file contents.

The central resource is a storage task, which contains conditions and operations. Conditions evaluate supported object attributes, including names, naming patterns, metadata, index tags, and system properties such as creation time or access tier. Operations specify what happens to matching objects, such as changing their access tier, deleting them, or updating tags. A task can contain multiple ordered operations, with continuation behavior controlling what happens after an operation succeeds or fails.

A task does not execute against data until you create an assignment. Each assignment identifies a target storage account, the subset of objects to process, when execution should occur, and where execution reports should be stored. Reuse the same task definition through separate assignments for multiple accounts. The task and each target account must be in the same region, so multiregion deployments require regional task resources. General-purpose v1 and legacy Blob Storage accounts cannot be targeted.

Use the Azure portal visual designer to compose and preview conditions, or manage definitions through deployment tools and APIs such as Bicep, Azure Resource Manager, Azure CLI, and the management SDKs. Assign the required Azure roles to the task's managed identity before execution. Verify that the selected operations are supported by the target account, blob type, and enabled storage features, particularly for hierarchical namespace accounts.

Validate changes before enabling destructive operations. Condition previews help check matching logic against test data, while mock runs evaluate objects across the assignment scope and generate reports without modifying data. Case-sensitive matching is available when conditions need to distinguish object names or values by letter case. Start with a narrow scope and inspect results before expanding an assignment.

Tasks execute asynchronously, either as one-time runs or on recurring schedules. Updates to a task definition automatically propagate to existing assignments, and subsequent scheduled runs use the updated definition. Treat definition changes as production changes because they can affect several accounts. You can request that an in-progress assignment run stop; review its report and object state before deciding whether to run it again.

Execution reports record object-level outcomes, while dashboards summarize matching objects and attempted operations. Completion events can trigger downstream automation through Azure Event Grid. Storage Actions does not maintain a backup copy of processed data, and its execution depends on target account availability. Keep task definitions, assignments, identities, and role assignments in source control, protect the underlying data separately, and design recovery procedures for interrupted runs. The service does not offer an availability SLA.

Azure architecture icons are the property of Microsoft. BlowStack is not affiliated with or endorsed by Microsoft.