Azure Cosmos DB status: "Creating"

Влад Терещенко 20 Reputation points
2024-06-27T22:46:45.0766667+00:00

Hello
I tried to create a cosmo database with containers, using bisep, but something went wrong, and now I have a cosmo account that has been created for 5 days. "Status: Creating"

I can’t delete it, the resource group couldn’t be deleted either, and because of it I can’t create other cosmo resources because I have a free tier.
I don't know what to do, how to stop his task?

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,518 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vlad Costa 780 Reputation points
    2024-06-28T01:23:00.58+00:00

    Hi @Влад Терещенко

    You can try to force delete a resource group and all its contents in Azure using either the Azure portal, Azure CLI, or PowerShell. Here’s how you can do it:

    Using Azure CLI:

    az group delete --name <resource-group-name> --
    

    This command deletes the specified resource group. The --yes option is used to confirm that you want to delete the resource group without a confirmation prompt, and --no-wait makes the command return immediately without waiting for the operation to complete.

    Using PowerShell:

    Remove-AzResourceGroup
    

    This command removes the specified resource group. The -Force parameter is used to suppress the confirmation prompt.

    Replace <resource-group-name> with the name of your resource group.

    Remember, deleting a resource group is irreversible and will remove all its resources.

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you; this can benefit other community members.


0 additional answers

Sort by: Most helpful