Skip to content

CLI docs still point to az cosmosdb mongocluster; should point to az documentdb #34481

Open

Description

Describe the bug

The Azure CLI docs still surface az cosmosdb mongocluster references, but the correct command group is now under az documentdb.

Incorrect page:
https://learn.microsoft.com/en-us/cli/azure/cosmosdb/mongocluster?view=azure-cli-latest

Expected page:
https://learn.microsoft.com/en-us/cli/azure/documentdb?view=azure-cli-latest

Repro steps

  1. Open the cosmosdb/mongocluster docs URL.
  2. Compare command group naming with documentdb docs.

Actual result

Old command group path (cosmosdb/mongocluster) is still published and discoverable.

Expected result

Docs should consistently reference az documentdb ... command group and redirect/remove outdated cosmosdb/mongocluster references where applicable.

Related command

az documentdb mongocluster --help
az cosmosdb mongocluster --help

Errors

The Azure CLI docs still surface az cosmosdb mongocluster references, but the correct command group is now under az documentdb.

Issue script & Debug output

The Azure CLI docs still surface az cosmosdb mongocluster references, but the correct command group is now under az documentdb.

Expected behavior

The Azure CLI docs still surface az cosmosdb mongocluster references, but the correct command group is now under az documentdb.

Environment Summary

azure-cli 2.93.0

core 2.93.0
telemetry 1.1.0

Extensions:
aks-preview 21.0.0b8
azure-firewall 2.0.0
containerapp 1.3.0b4
cosmosdb-preview 1.6.2
documentdb 1.0.0b2
kusto 0.5.0
log-analytics 1.0.0b1
quota 1.0.0
resource-graph 2.1.1

Dependencies:
msal 1.39.0
azure-mgmt-resource 24.0.0

Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Config directory 'C:\Users\sandnair.azure'
Extensions directory 'C:\Users\sandnair.azure\cliextensions'

Python (Windows) 3.14.10 (tags/v3.14.10:b703b2c, Oct 25 2026, 17:36:52) [MSC v.1944 64 bit (AMD64)]

Additional context

No response

Activity

  1. added
    bug
    on Nov 23, 2026
  2. added
    Auto-Assign
    Service Attention
    CosmosDB
    on Nov 23, 2026
  3. yonzhan commented on Nov 23, 2026

    @yonzhan
    Collaborator

    route to service team

  4. Aadithya2222 commented on Nov 24, 2026

    @Aadithya2222

    Hi maintainers,

    I'd like to contribute to this issue.

    I would like to investigate the outdated az cosmosdb mongocluster references, verify the current az documentdb command structure, and submit the necessary documentation corrections.

    Is this issue available for external contributors? If so, could you please assign it to me?

    Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Auto-AssignCosmosDBService Attentionact-codegen-extensibility-squadbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions