Last sync \ modified time of a storage account

Chintakindi, Anogna 20 Reputation points
2023-06-05T06:49:37.79+00:00

Want to fetch last modified date and time of all storage accounts in a specific subscription

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,906 questions
{count} votes

Accepted answer
  1. deherman-MSFT 35,321 Reputation points Microsoft Employee
    2023-06-15T19:42:06.2+00:00

    @Chintakindi, Anogna

    Thanks for clarifying. There is no such field that can easily tell you when data was last modified in your storage account. For blob storage one possibility is to create a script that checks the last modified date.

    My recommendation is to use blob inventory reports. This will allow you to better visualize the data for each storage account and see when data is being created. Also, it is important to keep in mind that sometimes data is not being added but it is still being downloaded and used.

    You can also consider using the Azure Storage Lifecycle Management feature to configure a policy to track the last access time of your blobs. This feature allows you to define rules to automatically transition blobs to a cooler storage tier or delete them when they are no longer needed based on their age or last access time.


    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


0 additional answers

Sort by: Most helpful