Remediation
If the Account is No Longer Neededβ
Delete the account using the following commands:
Azure CLIβ
az cosmosdb delete \
--name {{cosmosdb-account-name}} \
--resource-group {{resource-group-name}}
PowerShellβ
Remove-AzCosmosDBAccount `
-ResourceGroupName "{{resource-group-name}}" `
-Name "{{cosmosdb-account-name}}"
If the Account Is Needed But Idle, Consider the Serverless Tierβ
To get started with using the serverless model, you must create a new serverless account. Migrating an existing account to or from the serverless model currently isn't supported.