An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
Hello Neerajdattu Dudam,
Greetings! Thanks for raising this question in the Q&A forum.
Your understanding of the mechanism is correct, and this is a genuine platform deadlock rather than something you're doing wrong. When a subscription is disabled, Azure blocks all PUT, PATCH, and POST operations on it, while still permitting GET and plain DELETE. The purge operation on a Managed HSM is implemented as a POST action rather than a simple DELETE, so it gets blocked even though the original delete (which put the HSM into its soft-deleted state) succeeded. Meanwhile, Managed HSM reserves and bills for its underlying hardware for as long as the resource sits in the soft-deleted state, independent of whether your subscription is enabled or disabled, which is why the charges have kept accruing even though you can't manage anything else in the subscription.
This means there is no self-service action available to you right now. Neither the Azure portal, CLI, nor PowerShell can purge the HSM while the subscription is in the disabled state, since that operation is blocked at the platform level regardless of role or permission. This has to be resolved by Microsoft, either by having the HSM purged from the backend directly, or by briefly reactivating the subscription specifically to allow the purge to go through.
Given the financial impact and that your first ticket (2607240040011710) went 10 days without a response and disappeared from the portal, please escalate rather than wait on the normal queue for your second ticket (2608030040003273):
Call Azure Support directly instead of only using the portal Billing issues involving accruing, disputed charges qualify for phone-based support even on subscriptions without a paid support plan. Go to https://azure.microsoft.com/en-us/support/create-ticket/ and select Billing as the issue type, then look for the call me or phone contact option rather than only submitting a web ticket, since billing disputes involving active financial harm are typically handled faster by phone.
When you reach a support engineer, ask for two specific actions, not just "help"
- Request that they either purge
test-vaultfrom the backend directly, or temporarily lift the write restriction on the subscription so you can purge it yourself.- Separately, request a billing adjustment/credit for the charges accrued while the HSM was undeletable due to the disabled subscription blocking the purge, since this is a platform-level limitation rather than a usage decision on your part.
test-vault), and note the exact accrued amount to quote when you speak with support, since having the precise figure ready speeds up the billing adjustment conversation.
If this answer helps you kindly accept the answer which will help others who have similar questions.
Best Regards,
Jerald Felix.