Azure / Azure/azure-cli

unrecognized arguments: --subscription

Open
#26,367 1 comment 0 reactions 1 assignee Claimed by @zhoxing-ms View on GitHub
act-identity-squad ARM Auto-Assign Azure CLI Team customer-reported feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Related command**

`az policy exemption list`

**Describe the bug**
I get the error message `unrecognized arguments: --subscription`.

**Expected behavior**
Get a list of policy exemptions from the specified subscription. Not using `--subscription` fetches the exemptions from the current subscription correctly.

**Environment summary**
Windows 10 22H2 (OS Build: 19045.2728)
azure-cli: 2.48.1
azure-cli-core: 2.48.1
azure-cli-telemetry: 1.0.8

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.