Skip to content

az policy assignment create is missing metadata argument #30713

@luxaflow

Description

@luxaflow

az policy assignment create & az policy assignment update and are missing the metadata argument. This is necessary to provide, among else, the category information.

Image

Azure PowerShell module (Az.Resources) cmdlet New-AzPolicyAssignment & Update-AzPolicyAssignment do provide the argument -Metadata

similar to issues #5798 & #10768

Environment Summary

Install Method is curl -sL https://aka.ms/InstallAzureCLIDeb | bash
Host OS: MacOS 15.2 (Intel)
DevContainer: Ubuntu:22.04

Image

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 teamcustomer-reportedIssues 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 that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions