Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Cannot delete virtual disk

$
0
0

I had a "Free Trial" subscription that is now cancelled. While the subscription was active, I created a virtual machine and the associated disk. After I upgraded my subscription, I deleted the VM made in the "Free Trial" subscription without problem, but when I try to delete the storage account I got the following error:

"Storage account XXXXXXXXXXXXX has 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."

I looked at the "Disks" tab in the "Virtual Machine" section in the management portal, but it shows none. Using a third-party tool I found that there is a virtual disk attached to the storage account, I tried to delete the disk with PowerShell, other third-party tools but I just cannot delete it. I get errors like "Not enough permissions" and things like that. ¿How can I delete the disk and the storage account?


Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>