An Azure service that provides hardware security module management.
Hi @Benjamin
Thank you for your reaching us!
I understand that you have created managed HSM and deleted by accidently, now you would like to avoid the billing for the resource.
Since you created a Managed HSM with a 90-day purge protection period, it remains in a soft-deleted state and cannot be permanently deleted until the retention period expires. During this time, you will continue to be billed for the HSM. Once the 90-day retention period ends, the Managed HSM will be automatically purged.
Because purge protection is enabled, neither the HSM nor its keys can be purged before the retention period ends. Additionally, the retention period cannot be shortened after creation.
The only option in this case is to work with your account team to contact our finance/billing department and request a refund. Please create a support ticket with our Billing team to proceed. If you're unable to create a support ticket, let me know, and I can assist in arranging a one-time free support ticket for you.
Billing implications for Managed HSM soft-delete
Hope this helps. Do let us know if you any further queries by responding in the comments section.
If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.