Failing to deploy CosmosDB in MS Learn Sandbox

Alessandro Vincenzi 36 Reputation points
2020-04-13T11:36:44.633+00:00

Hello
following the learning path on server less applications, there is a section where you have to deploy an Azure App service to run functions and then a CosmosDB for further binding.

After activating the sandbox, the deployment of the CosmosDB fails with the following message:

{
"code":"DeploymentFailed",
"message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.",
"details":[{"code":"BadRequest","message":"{\r\n \"code\": \"BadRequest\",\r\n \"message\": \"Free tier has already been applied to another Azure Cosmos DB account in this subscription. To apply free tier to this account, you can select another subscription for this account or delete the existing free tier account. You can have up to one free tier account per subscription.\\r\\nActivityId: dc28344f-d509-488e-95f9-a9d89a8155ac, Microsoft.Azure.Documents.Common/2.10.0\"\r\n}"}]
}

The deployment fails with the error:

  • Free tier has already been applied to another Azure Cosmos DB account in this subscription.
  • To apply free tier to this account, you can select another subscription for this account or delete the existing free tier account.
  • You can have up to one free tier account per subscription.

The sandbox is brand new and there is nothing in the resource group except for the storage for the console provisioned by default.

Is there any workaround to get it deployed?

Sorry for the wrong tab. There is no way to use a new one. Only those predefined are usable.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,162 questions
{count} votes

Accepted answer
  1. Monalla-MSFT 11,801 Reputation points
    2020-04-13T16:14:09.703+00:00

    Hello @Alessandro Vincenzi ,

    Thanks for providing the issue resolution.

    Yes, you are correct. Due to high demand of resources, there is an ongoing issue going on with the capacity allotment.

    I hope this information helps. Please feel free to reach back out for any questions or concerns you may have in the future.

    5 people found this answer helpful.

10 additional answers

Sort by: Most helpful
  1. Uriel A. Fernandez 1 Reputation point
    2020-05-23T16:12:19.54+00:00

    man... well it's free I guess we couldn't expect 100% fail proof.
    I'll try to get my other badges that don't require cosmos db deployment

    0 comments No comments

  2. Jochen François 1 Reputation point
    2020-05-24T07:17:29.613+00:00

    Hi, I'm having the exact same issue.

    A screenshot of my activity-log indicates that it fails during the Deployment step. It was a brand new sandbox-env.

    8616-screenshot-2020-05-24-at-091433.png

    0 comments No comments

  3. Admir 16 Reputation points
    2020-05-24T10:27:14.69+00:00

    Hi Folks, not sure if it will work for others but i noticed, that for some reason there can be multiple Concierge Subscriptions then depending on this pick the resource group
    Dont know why these are not cleared...
    smrux1

    link to screenshot https://prnt.sc/smrux1
    hope this helps!

    Cheers

    0 comments No comments

  4. Jayant Daruvuri 1 Reputation point
    2020-05-25T00:24:36.847+00:00

    {
    "code": "BadRequest",
    "message": "Free tier has already been applied to another Azure Cosmos DB account in this subscription. To apply free tier to this account, you can select another subscription for this account or delete the existing free tier account. You can have up to one free tier account per subscription.
    }

    • Tried using another sandbox, but the issue didn't go away.
    • Unable to complete the Microsoft learn modules because of this error.
    • Tried creating the Cosmos DB in other regions and still have the same problem.
    • Can't progress on the Microsoft Learn website because of this issue.
    0 comments No comments