Skip to content

az cosmosdb create " location" issue #28330

@lhcxx

Description

@lhcxx

Describe the bug

az cosmosdb create --name $accountName --resource-group $resourceGroupName --kind GlobalDocumentDB --locations regionName="mexicocentral" --capabilities EnableTable

I can successfully create the cosmosdb with Read Locations and Write Locations all point to mexicocentral, but for the location in the portal is always set to "East US" (I think it is the default value), and I did not find where I can set this value
1
2

Related command

az cosmosdb create

Errors

no parameter to set the location value

Issue script & Debug output

N/A

Expected behavior

set the right location value

Environment Summary

azure-cli 2.56.0 *

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Auto-AssignAuto assign by botAuto-ResolveAuto resolve by botCosmosDBaz cosmosdbService AttentionThis issue is responsible by Azure service team.act-codegen-extensibility-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions