Why Unused Public IPs Accumulate
When an Azure Virtual Machine, Bastion Host, or Application Gateway is decommissioned, its allocated Public IP resource is often preserved as an independent Azure Resource Manager (ARM) asset.
Because Microsoft charges for provisioned IPv4 reservations regardless of whether active traffic flows through them, forgotten public IPs quietly consume monthly cloud budget.
Microsoft Azure charges hourly rates for all static and standard public IPv4 addresses, even if they have null network interface bindings.
Azure Resource Graph Query for Orphan IPs
You can scan all subscriptions in your Azure tenant for unassociated Public IPs using this Kusto query in Azure Resource Graph Explorer:
Resources
| where type =~ 'microsoft.network/publicipaddresses'
| where properties.ipConfiguration == '' or isnull(properties.ipConfiguration)
| project name, resourceGroup, subscriptionId, location, properties.publicIPAllocationMethod, sku = properties.sku.nameMonthly Financial Impact of Reserved IPv4
While a single unused IP costs approximately $3.60 to $5.00/month, microservices and Kubernetes clusters with automated ingress controllers often leave dozens of orphan IPs behind, wasting hundreds of dollars every quarter across multiple subscription environments.
Releasing Unassociated IPs via Azure CLI
Once you have confirmed an IP is no longer required by any active DNS record or firewall allowlist, delete it using the Azure CLI:
# Delete an unassociated public IP
az network public-ip delete --resource-group rg-networking --name pip-decommissioned-vmContinuous IP Hygiene with WasteRadar
WasteRadar automatically scans your entire Azure estate daily, flagging unassociated public IPs the moment workloads are destroyed and routing instant remediation alerts to your engineering team.
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.