A day with .Net

My day to day experince in .net

Cannot delete storage account – azure Virtual Machine

Posted by vivekcek on November 13, 2012

I create a new VM, which automatically created a Storage account.

I then closed and deleted the VM, but the storage account remained.

When I try and delete it I get:

“Storage account *********** has 1 container(s) which have an active image and/or disk artifacts. Ensure those artifacts are removed from the image repository before deleting this storage account.”

To fix this

Go to Virtual Machines -> “Disks” or “Images” tab -> select the images/disks that you have located in the Storage Account you want to delete -> then hit the “Delete disk” or “delete image” command. Back these up if you need before hitting the delete.

Once the images/disks in the storage account have been deleted, you should be able to delete the storage account. Hope this helps.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s