-
Notifications
You must be signed in to change notification settings - Fork 3.4k
unrecognized arguments: --subscription #26367
Copy link
Copy link
Open
Labels
ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupAuto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure 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.Issues that are reported by GitHub users external to the Azure organization.feature-request
Milestone
Metadata
Metadata
Assignees
Labels
ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupAuto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure 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.Issues that are reported by GitHub users external to the Azure organization.feature-request
Related command
az policy exemption listDescribe the bug
I get the error message
unrecognized arguments: --subscription.Expected behavior
Get a list of policy exemptions from the specified subscription. Not using
--subscriptionfetches 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