Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

az policy assignment create is missing metadata argument #30713

Open
luxaflow opened this issue Jan 24, 2025 · 1 comment
Open

az policy assignment create is missing metadata argument #30713

luxaflow opened this issue Jan 24, 2025 · 1 comment
Assignees
Labels
ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone

Comments

@luxaflow
Copy link

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

@yonzhan
Copy link
Collaborator

yonzhan commented Jan 24, 2025

Thank you for opening this issue, we will look into it.

@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. Auto-Assign Auto assign by bot ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group labels Jan 24, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jan 24, 2025
@yonzhan yonzhan added this to the Backlog milestone Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

3 participants