Unable to delete premium hard drive. RRS feed

  • Question

  • Every time I try to delete a premium hard drive I get an error.  

    The hard drives are detached from VM's, but they are still showing Lease Status of Locked and Lease State of Leased.  I have reattached the hard drive and then detached, thinking it might not have detached properly last time, but I still cannot delete the hard drive.  Even letting it sit for 2 or 3 days unattached, the drive is still showing Lease Status Locked and Lease State Leased.  How can I delete these drives?  I really don't like the fact that I am getting charged for hard drives I cannot delete.

    Thursday, July 16, 2015 5:25 PM


  • You need to delete the Disk resource to break the lease on the blob.

    Follow these steps, from the Azure support team blog:

    To delete the Disk resource follow the steps below:

    1. On the Azure Management Portal, navigate to Virtual Machines -> Disks
    2. Select the Disk you want to delete.
    3. Confirm there is no Virtual Machine listed on the "Attached to" column
      1. Disks are detached from a deleted VM asynchronously, it may take a few minutes after the VM is deleted for this field to clear up.
    4. Click "Delete" and choose if you want to "Retain the associated VHD" or "Delete the associated VHD"
      1. If you choose to "Retain the associated VHD" the lease will be removed but the blog containing the VHD will be kept in your Storage Account. You may choose this option if you plan to delete the VHD directly from your storage account VHDs container, create a new Disk pointing to the existing VHD, download to your on-premises environment or just leave it there for future use.
    Friday, July 17, 2015 2:04 AM