I am beginner in Azure. Created a free trial account with 200$ free credits. I create Managed HSM service mistakenly. but it consumed 215$ in two days. now i want to delelte card details otherwise my money got deducted how can i proceed

Ganesh Thakur 0 Reputation points
2026-06-20T05:26:06.0466667+00:00

I am beginner in Azure. Created a free trial account with 200$ free credits. I create Managed HSM service mistakenly. but it consumed 215$ in two days. now i want to delelte card details otherwise my money got deducted how can i proceed

Azure Dedicated HSM
Azure Dedicated HSM

An Azure service that provides hardware security module management.


3 answers

Sort by: Most helpful
  1. Lakshma Reddy Vattijonnala 1,010 Reputation points Microsoft External Staff Moderator
    2026-06-22T14:54:58.2233333+00:00

    Hi @Ganesh Thakur ,

    Azure Managed HSM is one of the most expensive Azure services. It is billed per hour as long as it exists even if you don't actively use it. The two parts of your ask are

    (1) stopping/deleting the HSM resources you created
    (2) removing your credit card/payment method so you’re not charged going forward.

    Delete AND Purge the Managed HSM:

    Just deleting is not enough you must also purge it, otherwise it keeps billing.

    1. Go to Azure Portal → Key Vaults → Managed HSMs.
    2. Open your HSM → Delete it.
    3. Then go to Manage deleted Managed HSMs → select the deleted HSM → Purge.

    Delete any other resources:

    Go to Subscriptions → your subscription → Resources → Manage view → Show hidden types, and delete any remaining resources.

    Cancel the Azure Subscription:

    Once all resources are deleted:

    1. Go to Cost Management + Billing → Subscriptions.
    2. Select your free trial subscription.
    3. Click Cancel subscription.

    Billing stops immediately upon cancellation, though final invoice may take up to 72 hours.

    Remove your card:

    Important: Azure does not let you delete a card while it is attached to an active subscription. citeturn10search157

    So you must cancel the subscription first (Step 3), then:

    1. Go to Cost Management + Billing → Payment methods.
    2. Find your card → check→ Delete.

    For any additional help with billing, please reach out to the dedicated billing support team. Please submit a support request to the billing team, and they will contact you by email or phone to help resolve the issue.

    Kindly check the documentation to know how to Create an Azure support request https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request

    If you have further questions regarding this answer, feel free to click "Comment". If you find the answer helpful, please click "upvote" and accept it. This helps the community by allowing others with similar queries to easily find the solution.

    Was this answer helpful?


  2. TP 159K Reputation points Volunteer Moderator
    2026-06-20T15:01:16.5766667+00:00

    Hi @Ganesh Thakur

    To avoid charges I recommend you do NOT upgrade your Free account to Pay-As-You-Go. Under the terms of Azure Free you will not be charged (provided you do not upgrade to pay-as-you-go).

    Below is screenshot excerpt from Azure account FAQ (scroll down, #8):

    User's image

    If you just leave your Azure Free subscription disabled (without upgrading), it will take some time but it will eventually be deleted automatically.

    If you contact Billing support via free Billing support case in portal and they agree (in writing) to waive all charges from Managed HSM, they delete and purge Managed HSM for you, then you might want to consider upgrading your account so you can continue using free services for remainder of 12 months.

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP

    Was this answer helpful?

    0 comments No comments

  3. AI answer

    2026-06-20T05:26:19.19+00:00

    For a free trial that accidentally incurred high charges, there are three key steps: stop the spend, address the subscription, then remove the card.

    1. Stop further charges by removing/turning off resources
      Delete or stop the Managed HSM and any other active resources in the subscription so no new usage is generated. This is required before canceling or deleting the subscription.
    2. Cancel the Azure subscription
      For a free trial (pay-as-you-go style) subscription, cancel it in the Azure portal. When a subscription is canceled, billing for that subscription stops immediately. If you see a message that you still have active resources when trying to delete the subscription, there might be hidden resources:
      • Go to Subscriptions → select the subscription → Resources.
      • At the top, select Manage viewShow hidden types.
      • Delete any remaining resources.
    3. Remove or delete the payment method (card)
      By design, a card cannot be removed while it is the active payment method for an active subscription. The options are:
      • Add a new payment method and move the subscription to it, then delete the old card; or
      • Cancel the subscription, then remove the card from the account.
      For Microsoft Customer Agreement or pay-as-you-go subscriptions, deleting a card is supported:
      • Sign in to the Azure portal.
      • Go to Cost Management + Billing.
      • Select the correct billing scope.
      • Under Billing, select Billing profiles → choose the profile using the card.
      • Under Billing, select Payment methods.
      • Under Your Credit Cards, find the card, select the ellipsis (...) → Delete.
      • If Azure reports that the payment method is in use, it must be detached or the subscription canceled first.
    4. If charges already exceeded free credits
      If actual charges have already posted beyond the free credits, open a billing/support request from the Azure portal and explain that this was accidental usage on a free trial. Any refund or adjustment is handled only by support.
    5. Plan to avoid future unexpected charges
      For future use, set up budgets and alerts and review estimated costs before creating services using the pricing calculator and cost analysis tools.

    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.