Skip to content

Cosmos DB --network-acl-bypass AzureServices doesn't work #28184

@vijuhe

Description

@vijuhe

Describe the bug

Running az cosmosdb update --network-acl-bypass AzureServices does not turn the Cosmos DB network settings flag on that accepts connections from within public Azure datacenters. If the flag is already set, it is removed after the command.

Related command

az cosmosdb update

Errors

No error, just didn't produce the expected outcome in Cosmos DB.

Issue script & Debug output

Not available for now. Will submit later if needed.

Expected behavior

The Cosmos DB network setting "Accept connections from within public Azure datacenters" is enabled.

Environment Summary

azure-cli 2.56.0.
Cosmos DB has public network access enabled for selected networks. The selected networks include both a VNET subnet and IP addresses.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Auto-AssignAuto assign 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.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