Azure / Azure/azure-cli

Ignored global argument `--subscription` showing up in online doc

Open
#21,806 2 comments 1 reaction 1 assignee Claimed by @jiasli View on GitHub
act-identity-squad common issue feature-request Graph
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.62

**Describe the bug**
The documentation https://docs.microsoft.com/en-us/cli/azure/ad/group?view=azure-cli-latest#az-ad-group-list states that `az ad group list` supports `--subscription` under the Global Parameters section. It does not support --subscription. The documentation should be corrected.

**To Reproduce**
Try `az ad group list` with `--subscription`.

**Expected behavior**
The flag is accepted or the documentation is changed.

**Environment summary**
Azure CLI version 2.34.1, MSI installed, Windows 10.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.