Storage

The Complete Guide to Finding & Decommissioning Unattached Azure Disks

When a virtual machine is deleted in Microsoft Azure, attached Managed Disks are retained by default to prevent accidental data loss. These orphaned disks remain fully provisioned and continue billing storage fees indefinitely.

Odinext Cloud Engineering

Azure Infrastructure & FinOps Research

Published: August 12, 2025
5 min read
(Updated: August 16, 2025)

Why Azure Disks Get Orphaned

Azure Managed Disks exist as standalone Azure Resource Manager (ARM) resources independent of the Virtual Machines that mount them.

When you delete a VM via the portal, Azure asks whether to cascade-delete attached OS and data disks. If this checkbox is missed—or if automated Terraform/Bicep pipelines only destroy the compute resource—the managed disks remain in the subscription with `managedBy: null`.

Provisioned Capacity Billing

Azure Managed Disks bill for 100% of provisioned tier capacity (e.g. 128 GB P10 disk), not the amount of consumed file data inside the volume.

Listing Unattached Disks with Azure CLI

You can find all unattached managed disks across your current Azure subscription by filtering for disks with an empty `managedBy` attribute:

Azure CLI Query
bash
# List all unattached managed disks in the current subscription
az disk list --query "[?managedBy==null].{Name:name, ResourceGroup:resourceGroup, DiskSizeGB:diskSizeGb, Sku:sku.name, Tier:tier}" -o table

Calculating the Monthly Storage Burn

Storage waste adds up rapidly across enterprise subscriptions. For example:

A single 1 TB Premium SSD (P30) costs approximately $135–$160/month. A cluster of 5 orphan disks from retired Kubernetes worker nodes can silently waste over $800/month ($9,600/year) without running any active workloads.

Safe Snapshot & Deletion Workflow

Before permanently deleting an unattached disk, best practice recommends creating a compressed point-in-time snapshot to standard archive storage:

Snapshot and Cleanup
bash
# 1. Create a safe backup snapshot
az snapshot create --resource-group rg-storage --name snap-backup-disk01 --source "/subscriptions/<sub-id>/resourceGroups/rg-storage/providers/Microsoft.Compute/disks/disk-prod-db-01"

# 2. Delete the unattached managed disk
az disk delete --resource-group rg-storage --name disk-prod-db-01 --yes

Automating Disk Hygiene with WasteRadar

WasteRadar continuously tracks all managed disks across your Azure subscriptions. When a disk becomes unattached, WasteRadar calculates the exact regional dollar burn rate and flags it in your daily digest with verified remediation tracking.

Odinext Cloud Engineering

Azure Infrastructure & FinOps Research

The Odinext engineering team specializes in Azure cost management, ARM resource optimization, and automated cloud waste detection across enterprise multi-subscription architectures.

Automate This Analysis with WasteRadar

Stop running manual resource queries and spreadsheets. Odinext WasteRadar detects idle compute, unattached disks, and orphaned snapshots automatically with 100% read-only Azure IAM integration.

Related Technical Guides

Continue exploring Azure cloud cost optimization and FinOps architecture