An Azure service that provides hardware security module management.
Hi Michael McCoy FDThank you for reaching out and for clearly outlining your scenario.
Based on the behavior of Azure Key Vault Managed HSM, the scenario you’re experiencing is expected due to the service design. Please see the clarifications below:
When a Managed HSM is deleted, it does not immediately stop billing.
- Azure Managed HSM uses soft-delete, which retains the resource for a configured retention period (typically 7–90 days).
- During this time, the underlying dedicated HSM infrastructure remains allocated, and therefore billing continues at the full hourly rate.
This is clearly documented here:Azure Key Vault Managed HSM soft-delete overview
- Purge protection behavior: If purge protection was enabled at the time of creation, then:
- The Managed HSM cannot be permanently deleted (purged) until the retention period expires.
- This restriction cannot be overridden by any role, including Subscription Owner, Global Admin, or Microsoft.
Official documentation: Managed HSM recovery (soft-delete and purge protection)
- Can you purge the HSM now?
- If purge protection is NOT enabled → You can manually purge the HSM (using portal/CLI with appropriate roles).
- If purge protection IS enabled → Manual purge is not possible, The resource will be automatically purged after the retention period
- Why charges continue:
Even though the HSM shows as “Deleted”:
- The service still maintains the allocated capacity to allow recovery.
- Billing continues until:
- The resource is manually purged, OR
- The retention period expires and Azure auto-purges it
- The resource is manually purged, OR
There is no automatic refund for this scenario, as the behavior aligns with the product design.
However, you can request billing review/credit from the Azure Billing team:
- Raise a support request under Billing → Unexpected charges
- Billing support is free for all Azure subscriptions
Support request entry point:
If you're unable to create a ticket via the portal:
- Navigate to Help + Support
- Select Billing category
- If stuck in recommendations, click**“Return to support request”** and continue
Thanks,
Suchitra.