Q: Why am I getting an error when I try to delete a VHD in Windows Azure?

Deleting a VHD that was part of a virtual machine will result in an error.

John Savill

October 15, 2012

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A: If you try and delete a virtual hard disk (VHD) that was part of a virtual machine (VM), even though the VM has been deleted, you will get an error that the lease on the BLOB hasn't expired, which the screen shot shows below.


Azure Error Message (click image for larger display)

The solution is to actually delete via the VM's area of the Windows Azure portal by selecting Disks. From Disks, you will be able to delete the VHDs that are no longer needed, as the screen shot below shows, by selecting the option to Delete Associated VHD.


Azure Delete Associated VHD (click image for larger display)

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like