Azure / azure-cli

Azure Command-Line Interface
MIT License
4.01k stars 2.98k forks source link

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

Open vijuhe opened 9 months ago

vijuhe commented 9 months ago

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

yonzhan commented 9 months ago

Thank you for opening this issue, we will look into it.

microsoft-github-policy-service[bot] commented 9 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @pjohari-ms, @kushagraThapar, @simplynaveen20.

vivekananth commented 3 weeks ago

I am facing same issue. For me the problem while using bicep template. Do you have any workaround ?