question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: az cosmosdb list-connection-strings returns empty result

See original GitHub issue

Description

az cosmosdb list-connection-strings returns empty result:

{
  "connectionStrings": null
}

Environment summary

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

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

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

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

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:9
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
shurdcommented, Feb 1, 2019

The az cosmosdb list-connection-strings command now returns connection strings for all API types. It returns primary, primary read-only, secondary and secondary read-only

1reaction
shurdcommented, Feb 4, 2019

@tjprescott yes, this issue can be closed

Read more comments on GitHub >

github_iconTop Results From Across the Web

ListConnectionStrings cosmosDB permission - Stack Overflow
The RBAC action that provides permission for calling list connection strings is. Microsoft.DocumentDB/databaseAccounts/listConnectionStrings ...
Read more >
az cosmosdb | Microsoft Learn
Returns a boolean indicating whether the database exists. az cosmosdb database list. Lists all Azure Cosmos DB databases. az cosmosdb database show. Shows...
Read more >
Getting and Updating Connection Information for Azure ...
We look at how to get and update connection information for Azure Cosmos DB with PowerShell.
Read more >
Overview (Azure SDK for Java Reference Documentation) - NET
az cosmosdb create \ --resource-group <resource-group-name> \ --name ... Cosmos DB Table API account az cosmosdb list-connection-strings \ --resource-group ...
Read more >
azure-cli 2.5.0 - PyPI
Support az cosmosdb private-link-resource/private-endpoint-connection (#12960) ... az deployment: Fix the parse bug for comment under the last argument.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found