Skip to content

Microsoft.DocumentDB databaseAccounts APi Version in gov not updated #30715

@bryanberardi

Description

@bryanberardi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Auto-AssignAuto assign by botAuto-ResolveAuto resolve by botCosmosDBaz cosmosdbPossible-SolutionService AttentionThis issue is responsible by Azure service team.Similar-IssuebugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions