azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

[CosmosDB] `az cosmosdb list-connection-strings` is not the same as the portal

Open devigned opened this issue 9 years ago • 5 comments

Description

When running az cosmosdb list-connection-strings, the connection string is not the connection strings as seen in the portal.

For example:


Environment summary

Install Method: How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly)
Answer here: Source

CLI Version: What version of the CLI and modules are installed? (Use az --version)
Answer here: ref 8dd7cf7

OS Version: What OS and version are you using?
Answer here: OS X

Shell Type: What shell are you using? (e.g. bash, cmd.exe, Bash on Windows)
Answer here: bash

devigned avatar May 30 '17 16:05 devigned

Looks like this might be a service issue as this command is a proxy to the management plane.

devigned avatar May 30 '17 16:05 devigned

@moderakh or @dmakwana any thoughts on this one?

devigned avatar May 30 '17 16:05 devigned

This is account management. Should be assigned to digvijay @dmakwana

moderakh avatar Sep 20 '17 23:09 moderakh

These connection strings match now. They follow the format that ends with "&replicaSet=globaldb"

shurd avatar Feb 04 '19 18:02 shurd

Thanks @shurd. I will close this.

tjprescott avatar Feb 04 '19 18:02 tjprescott