-
Notifications
You must be signed in to change notification settings - Fork 3.4k
az policy assignment create is missing metadata argument #30713
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.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
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.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
az policy assignment create&az policy assignment updateand are missing the metadata argument. This is necessary to provide, among else, the category information.Azure PowerShell module (Az.Resources) cmdlet New-AzPolicyAssignment & Update-AzPolicyAssignment do provide the argument
-Metadatasimilar to issues #5798 & #10768
Environment Summary
Install Method is
curl -sL https://aka.ms/InstallAzureCLIDeb | bashHost OS: MacOS 15.2 (Intel)
DevContainer: Ubuntu:22.04