Batch Deletion of Storage Container and Blobs within the container.

I am having trouble determining a realistic way to remove ( permanently delete ) an azure storage container and all the storage blobs within the container.

Is there any way to do this without the need to invoke an API? (example: Remove using a PowerShell script or command)

I currently have multiple storage containers that are not able to be removed due to VM's, and Websites, existing on blobs in the container. ( I have no VM's period, I have no Websites Period )

It seems as if there are unexisting running services preventing the deletion of the container and blobs within it.

Any information on batch removal of storage blobs and/or containers would be great.

Thanks,

Justin 

March 21st, 2015 9:44am

Hi,

 Thanks for Posting.
 
 Unfortunately Batch Operations on Storage Blobs are not currently supported., you will have to delete them one by one. There is only one way to bulk delete blobs and that is to delete the entire container.
 Refer to the following Blog article on how to Programmatically delete Older Blobs.
 http://blogs.msdn.com/b/avkashchauhan/archive/2011/07/29/programatically-deleting-older-blobs-in-windows-azure-storage.aspx
 
 Also refer to the following StackOverflow article that discusses how to clean a Azure Storage Blob Container.
 http://stackoverflow.com/questions/10426213/how-to-clean-an-azure-storage-blob-container
 
 Also, the link for Blob Service REST API command to delete container.
 https://msdn.microsoft.com/library/azure/dd179408.aspx?f=255&MSPPError=-2147217396
 
 I suggest you submit this new feature at:  http://feedback.azure.com/forums/34192--general-feedback,  all of the feedback you share in these forums will be monitored and reviewed by the Microsoft engineering teams responsible for building Azure.
 
 If you are still having trouble deleting the blobs/containers i would suggest create a support ticket at http://azure.microsoft.com/en-in/support/options/
 
Regards,
Nithin Rathnakar.

Free Windows Admin Tool Kit Click here and download it now
March 22nd, 2015 2:26am

Hi,

 Thanks for Posting.
 
 Unfortunately Batch Operations on Storage Blobs are not currently supported., you will have to delete them one by one. There is only one way to bulk delete blobs and that is to delete the entire container.
 Refer to the following Blog article on how to Programmatically delete Older Blobs.
 http://blogs.msdn.com/b/avkashchauhan/archive/2011/07/29/programatically-deleting-older-blobs-in-windows-azure-storage.aspx
 
 Also refer to the following StackOverflow article that discusses how to clean a Azure Storage Blob Container.
 http://stackoverflow.com/questions/10426213/how-to-clean-an-azure-storage-blob-container
 
 Also, the link for Blob Service REST API command to delete container.
 https://msdn.microsoft.com/library/azure/dd179408.aspx?f=255&MSPPError=-2147217396
 
 I suggest you submit this new feature at:  http://feedback.azure.com/forums/34192--general-feedback,  all of the feedback you share in these forums will be monitored and reviewed by the Microsoft engineering teams responsible for building Azure.
 
 If you are still having trouble deleting the blobs/containers i would suggest create a support ticket at http://azure.microsoft.com/en-in/support/options/
 
Regards,
Nithin Rathnakar.

March 22nd, 2015 6:24am

Hi,

 Thanks for Posting.
 
 Unfortunately Batch Operations on Storage Blobs are not currently supported., you will have to delete them one by one. There is only one way to bulk delete blobs and that is to delete the entire container.
 Refer to the following Blog article on how to Programmatically delete Older Blobs.
 http://blogs.msdn.com/b/avkashchauhan/archive/2011/07/29/programatically-deleting-older-blobs-in-windows-azure-storage.aspx
 
 Also refer to the following StackOverflow article that discusses how to clean a Azure Storage Blob Container.
 http://stackoverflow.com/questions/10426213/how-to-clean-an-azure-storage-blob-container
 
 Also, the link for Blob Service REST API command to delete container.
 https://msdn.microsoft.com/library/azure/dd179408.aspx?f=255&MSPPError=-2147217396
 
 I suggest you submit this new feature at:  http://feedback.azure.com/forums/34192--general-feedback,  all of the feedback you share in these forums will be monitored and reviewed by the Microsoft engineering teams responsible for building Azure.
 
 If you are still having trouble deleting the blobs/containers i would suggest create a support ticket at http://azure.microsoft.com/en-in/support/options/
 
Regards,
Nithin Rathnakar.

Free Windows Admin Tool Kit Click here and download it now
March 22nd, 2015 6:24am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics