az policy assignment create is missing metadata argument
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
`az policy assignment create` & `az policy assignment update` and are missing the metadata argument. This is necessary to provide, among else, the category information.

Azure PowerShell module (Az.Resources) cmdlet [New-AzPolicyAssignment](https://learn.microsoft.com/en-us/powershell/module/az.resources/new-azpolicyassignment?view=azps-13.1.0) & [Update-AzPolicyAssignment](https://learn.microsoft.com/en-us/powershell/module/az.resources/update-azpolicyassignment?view=azps-13.1.0) 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

Contributor guide
Assessment
This issue has not been assessed yet.