Subscribe to Azure Storage Blob Lifecycle Policy Events
The LifecyclePolicyCompleted event is generated when the actions defined by a lifecycle management policy are performed. Refer - Optimize costs by automatically managing the data lifecycle - Azure Blob Storage | Microsoft Learn
This article shares steps to subscribe to these events and help you track how much data moved, deleted or archived.
Step 1: Create Event Grid - System topic, which helps to subscribe to events published by Azure Services. Refer below:
Step 2: Go to the Event Grid System Topic created and create a new Event Subscription.
Step 3: Select Event Type Filter as "Lifecycle Policy Completed"
Step 4: Select Endpoint to receive events. For simplicity we are using Storage Queue.
Step 5: Assign the System Managed identity in the storage account IAM for the event grid with role of "Storage Queue Data Message Sender", once role is assigned successfully, then go in the Event Subscription of the change the Managed Identity for Delivery to "System Assigned" and save.
Step 6: Go to the storage queue to see the events published.
For Azure Grid pricing refer Pricing – Event Grid | Microsoft Azure
Published on:
Learn moreRelated posts
A Look Ahead at Azure Cosmos DB Conf 2026: From AI Agents to Global Scale
Join us for Azure Cosmos DB Conf 2026, a free global, virtual developer event focused on building modern applications with Azure Cosmos DB. Da...
Announcing general availability of Azure Confidential Computing (ACC) virtual machines for U.S. government environments
Government agencies have an increased need for secure, verifiable, and compliant cloud environments that adhere to data sovereignty regulation...
What is Azure SRE Agent
Azure Developer CLI (azd): One command to swap Azure App Service slots
The new azd appservice swap command makes deployment slot swaps fast and intuitive. The post Azure Developer CLI (azd): One command to swap Az...