Microsoft.DocumentDB databaseAccounts APi Version in gov not updated #30715
Labels
Auto-Assign
Auto assign by bot
Auto-Resolve
Auto resolve by bot
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
CosmosDB
az cosmosdb
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Possible-Solution
Service Attention
This issue is responsible by Azure service team.
Similar-Issue
Describe the bug
Failing to run az cosmosdb commands in AzureUsGov when using Microsoft.DocumentDB databaseAccounts through the cli, as the latest version sent by client is 2024-11-15 but latest available in Gov is 2024-09-01-preview. We can't specify the api version and have to fully downgrade the cli to run the needed commands.
Related command
az cosmosdb sql database list --account-name {} --resource-group {}
Errors
No registered resource provider found for location 'usgovvirginia' and API version '2024-11-15' for type 'databaseAccounts'. The supported api-versions are ...several other version..., 2024-09-01-preview'. The supported locations are 'usgovarizona, usgovtexas, usdodcentral, usdodeast, usgovvirginia'.
Issue script & Debug output
az cosmosdb sql database list --account-name {} --resource-group {}
Expected behavior
Should be able to run az cosmosdb commands using latest az cli without apiversion errors
Environment Summary
azure-cli: 2.68.0
Additional context
Similar previous issue found: #17844
The text was updated successfully, but these errors were encountered: