Best way to clean up azure storage table

Manish Sharma 6 Reputation points Microsoft Employee
2021-11-23T18:39:33.457+00:00

Hi

We need suggestion on clearing the azure storage table on basis of dates bi-weekly including blobs. I believe we still can use retention policy for storage blobs but that will not be applicable for Azure table scenario. for this cleaning activity we want to keep it cheaper as much as possible and it should be able to run inside the vnet with user managed Identity.

Thanks
Manish

Azure Table Storage
Azure Table Storage
An Azure service that stores structured NoSQL data in the cloud.
159 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Oury Ba-MSFT 16,901 Reputation points Microsoft Employee
    2021-11-30T16:39:30.62+00:00

    Hi @Anonymous Thank you for posting your question on Microsoft Q&A.

    You would need to write a custom solution to clean up your resources. You can do it with PowerShell, or with one of the Azure SDKs

    Regards,
    Oury

    1 person found this answer helpful.

  2. Chetan Dev 26 Reputation points
    2021-12-02T09:56:43.51+00:00

    I was also in same situation and finally achieved it with a powershell script.

    0 comments No comments

  3. sadomovalex 3,626 Reputation points
    2021-12-08T15:27:59.037+00:00

    if you need to cleanup whole table it is possible (and faster especially if table contains a lot of items) to delete this table and recreate it again with the same name

    0 comments No comments