How to check Life Cycle management rules actions

C.E Aparna 20 Reputation points
2023-06-06T09:49:26.08+00:00

We have defined a life cycle management rule on one of container to archive if last modified is more than 1 days and then delete blobs if the last modified is more than 2 days.

Question here is: where to check whether action is triggered or not , the archive container name if the file got archived since my blobs are not deleted.

Observation from our side: no action is triggered though the blob last modified is more than 2 days.

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,815 questions
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 34,436 Reputation points Microsoft Employee
    2023-06-06T16:59:59.97+00:00

    @C.E Aparna

    ou can check for the LifecyclePolicyCompleted event in the storage account's activity log. The LifecyclePolicyCompleted event is logged when a lifecycle management policy has completed its execution.

    To view the activity log for your storage account, follow these steps:

    1. Go to the Azure portal and navigate to your storage account
    2. Under Monitoring, select Activity log.
    3. In the Filter pane, select the Subscription, Resource group, and Resource type for your storage account
    4. In the Search box, enter LifecyclePolicyCompleted and press Enter.

    You should see a list of events that match your search criteria. You can click on an event to view its details, including the time it was logged and the status of the lifecycle management policy.

    If you are not seeing any LifecyclePolicyCompleted events in the activity log, it is possible that the lifecycle management policy has not been executed yet. If the policy is not executing please let me know and we can investigate with you directly.


    If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.

    If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.

    Thank you for helping to improve Microsoft Q&A!

    User's image