Skip to content

unrecognized arguments: --subscription #26367

@nevaluoto

Description

@nevaluoto

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

Metadata

Metadata

Assignees

Labels

ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupAuto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamact-identity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.feature-request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions