Possible to request a refund for Azure CosmosDB usage?

Yoong Han 0 Reputation points
2025-12-12T06:56:56.0066667+00:00

I have recently done lab experiments with Azure cosmosdb and one of the lab experiments created 2 databases (as it is a random generated id scripts). This caused the billed to soared to USD 64 within 1 day.

I would like to know if there are ways to reach out for refunds?.

The script request a tantamount of RU of 4k autoscale and automatically registers the account without free tier. I don't think these are fair to have put within lab. Worst yet, if the lab is executed multiple times, the database is guaranteed to be created with cost associated. Even the RU amount assigned to the database of min 4k and max of 100k, is absurd! It only enters 10k of records of 4-5 fields for a lab...what is it to achieve?

Would say it can be part of my mistaken to have not scanning new resource group being created in my subscription after executing the script. But the bigger part issue with this lab is that it is meant for public and lab aimed for learning. This is the link to the lab https://microsoftlearning.github.io/dp-420-cosmos-db-dev/ and it have lab 16 and 17 that takes in charges of at least 30USD a day per project run.

Few question as well.

  • Why are there no cleanup scripts within the lab? It indicates but doesn't tell how and it doesn't even inform that a new resource group was created!
  • Why would the lab use provisioned throughput of 4k-100k which ideally only 500 throughput is sufficient, worst yet this setting can cause a student to loose USD400 a day!
  • Why wasn't it using free tier?
  • There are no safeguards to the lab users. The lab can even be executed multiple times! Any mistakes creates cost.
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
{count} votes

3 answers

Sort by: Most helpful
  1. Q&A Assist
    2025-12-12T06:57:13.6+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Azure does not typically offer refunds for usage charges incurred, including those related to Azure Cosmos DB. However, if you believe there has been an error or if you're experiencing unexpected charges, you can reach out to Azure support to discuss your situation. They may be able to provide guidance or assistance based on your specific circumstances.

    Regarding your concerns about the lab experiments:

    • Cleanup Procedures: It's important to check the lab documentation for any cleanup steps. If the lab does not provide clear instructions on resource management, this can lead to unexpected costs.
    • Provisioned Throughput: The choice of provisioned throughput settings in the lab may be intended to simulate real-world scenarios, but it can lead to high costs if not monitored closely. It's advisable to adjust these settings based on your actual needs.
    • Free Tier Usage: The free tier is available for Azure Cosmos DB, but it must be explicitly enabled when creating an account. If the lab did not use the free tier, it may be due to the account setup or configuration.
    • Safeguards: While Azure provides tools for monitoring and managing costs, it is ultimately the user's responsibility to manage resources effectively. Setting up alerts for spending can help mitigate unexpected charges in the future.

    For further assistance, consider reviewing Azure's cost management features to monitor and control your spending more effectively.


    References:

    0 comments No comments

  2. Siva shunmugam Nadessin 3,345 Reputation points Microsoft External Staff Moderator
    2025-12-12T08:13:49.0733333+00:00

    Hello Yoong Han,

    For queries related to billing & refund create a service request they will contact you via email or call to resolve it. below are the steps.

    1. Click the below click for Help + Support -> Create a Support Request

    https://portal.azure.com/?#blade/Microsoft_Azure_Support/HelpAndSupportBlade

    User's image

    Type billing.

    User's image

    In Contact Support, create support request

    User's image

    Fill in Problem description.

    User's image

    Click Next button in Recommended Solution

    User's image

    In Additional details add your problem description and in File Upload containing the detailed screenshot of the error you are facing.

    User's image

    In Preference contact method select either Email or Phone.

    User's image

    Click Review+Create and click Create button

    User's image

    Your support ticket will be created and a mail will be sent.

    You can track the support ticket in Azure portal using Help + Support, Recent Support tickets

    User's image

    Let me know if you have further questions we would be happy to help you!!

    0 comments No comments

  3. VRISHABHANATH PATIL 2,305 Reputation points Microsoft External Staff Moderator
    2025-12-12T09:01:06.5366667+00:00

    Hi @Yoong Han

    Thanks for contacting to Microsoft QA, below are detailed mitigation steps on your questions

    The lab scripts automatically provision Azure Cosmos DB with an autoscale throughput of 4,000–100,000 RU/s, do not use Free Tier, and create new resource groups without clearly informing the learner. This led to unexpectedly high daily costs during a simple learning exercise involving only ~10K documents.

    Why are there no cleanup scripts?

    Because the lab design assumes the learner will manually clean up resources, but the documentation is unclear. Proper cleanup steps were not included or explained, leading to leftover resource groups and active workloads.

    Why use 4k–100k RU/s when ~500 RU would be enough?

    This appears to be a legacy or overly aggressive configuration meant to simulate high‑throughput workloads. However, for small datasets and teaching purposes, this range is unnecessary and results in extremely high consumption costs.

    Why wasn’t Free Tier used?

    The lab scripts automatically create accounts using default settings. Free Tier requires explicit selection at account creation, which the script does not do. As a result, students unintentionally incur charges.

    Why are there no safeguards for learners?

    The lab does not implement:

    • resource locks
    • cost alerts
    • free‑tier defaults
    • throughput safety limits
    • clear warnings
    • cleanup automation

    This makes accidental cost accumulation easy, especially if the lab is run multiple times.

    What does provisioning 4k–100k RU/s achieve for a 10K‑record lab?

    Practically nothing meaningful for learning. The workload size does not justify such throughput. It only inflates cost without improving the educational outcome.

    What happens when the lab is executed multiple times?

    Each run:

    • creates new Cosmos DB accounts / databases
    • provisions high‑throughput autoscale
    • incurs fresh daily cost (≥ USD 30/day)

    Repeating the lab multiplies the cost linearly, with no safeguards.

    Why did it cause high charges?

    Because:

    • Autoscale 4k–100k RU/s is expensive
    • No free tier was used
    • No cleanup removed the provisioned resources
    • Resource group creation wasn’t clearly communicated

    Even a few hours at high RU/s can accumulate significant charges.

    0 comments No comments

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.