-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Set-AzPolicyAssignment Command Loses Description and Display Name #25362
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
Policy
Azure Resource Policy
Service Attention
This issue is responsible by Azure service team.
Comments
DFRZ7
added
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
needs-triage
This is a new issue that needs to be triaged to the appropriate team.
labels
Jun 24, 2024
microsoft-github-policy-service
bot
added
customer-reported
needs-triage
This is a new issue that needs to be triaged to the appropriate team.
and removed
needs-triage
This is a new issue that needs to be triaged to the appropriate team.
labels
Jun 24, 2024
isra-fel
added
Policy
Azure Resource Policy
Service Attention
This issue is responsible by Azure service team.
and removed
needs-triage
This is a new issue that needs to be triaged to the appropriate team.
labels
Jun 26, 2024
@mentat9 Hi Chris, making sure you know this. Thanks |
This will be fixed in the next Az.Policy release. |
mentat9
added a commit
to mentat9/azure-powershell
that referenced
this issue
Jun 27, 2024
Azure#25362 Correct/improve some tests
cc @VeryEarly |
Thank you @mentat9 |
mentat9
added a commit
to mentat9/azure-powershell
that referenced
this issue
Jun 27, 2024
Azure#25362 Correct/improve some tests
VeryEarly
added a commit
that referenced
this issue
Jun 28, 2024
* Fix for IcM: https://portal.microsofticm.com/imp/v5/incidents/details/515228129/summary - Policy import - Issue with OP (requires serialization of null values) Fix for GH issue: #25334 Fix for handling string ID value of -PolicyDefinition parameter to New-AzPolicyAssignment Fix properties (IAny) dropped from serialization in versioned types Add explicit -DefinitionVersion parameter to New-AzPolicyAssignment Add -Scope examples for New-AzPolicyExemption Add -Tag 'LiveOnly' to tests creating two largest recording files Complete support for getting and assigning versioned policy definitions and sets Fix for serialization issue with empty arrays in PolicyParameterObject (reported by Walgreens) Fix for GH issue: #24971 Fix for IcM: https://portal.microsofticm.com/imp/v5/incidents/details/510594116/summary - Get-AzPolicyExemption requests unnecessary parameter for Get-AzPolicyExemption in v12 Fix for -Scope parameter handling at resource instance level * Fix for GH issue: #25362 Correct/improve some tests * Add setup/cleanup resource to fix a test * Re-record tests * Wider fix for property round-trip through Update- Improve global test cleanup * Re-record tests * Fix parameter name for `Get-AzManagementGroup` * Fix parameter name for `Get-AzManagementGroup` --------- Co-authored-by: Yabo Hu <yabhu@microsoft.com>
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
Policy
Azure Resource Policy
Service Attention
This issue is responsible by Azure service team.
Description
While testing the Set-AzPolicyAssignment command with the latest version, we noticed the following behavior:
Policy Enforcement Mode and Non-Compliant Messages: These properties are maintained correctly when running the command.
Description and Display Name: These properties are lost when executing the command directly.
Issue script & Debug output
Environment data
Module versions
Error output
The text was updated successfully, but these errors were encountered: