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,166 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. Harriet Lawrie 1 Reputation point
    2020-05-25T12:00:55.637+00:00

    I had an issue trying to provision resources in my region and I just went back to the create an account step and tried it again with a slightly different name and chose another nearby region and it worked.

    0 comments No comments

  2. Nisha Goswami 6 Reputation points
    2020-08-23T20:26:55.557+00:00

    Using the "Do Not Apply" option for Free Tier worked for me as well. I thought perhaps Concierge subscription might not allow it but it worked.

    0 comments No comments