Skip to content

PolicyInsights Breaking Change Notice#29217

Open
dunnryan wants to merge 2 commits intoAzure:mainfrom
dunnryan:PI-break-chg-notice-26
Open

PolicyInsights Breaking Change Notice#29217
dunnryan wants to merge 2 commits intoAzure:mainfrom
dunnryan:PI-break-chg-notice-26

Conversation

@dunnryan
Copy link
Contributor

@dunnryan dunnryan commented Feb 27, 2026

Description

Adding a breaking change notice for the PolicyInsights cmdlets.

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

Copilot AI review requested due to automatic review settings February 27, 2026 23:56
@azure-client-tools-bot-prd
Copy link

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds CmdletOutputBreakingChangeWithVersion attributes to nine PolicyInsights cmdlets to notify users about upcoming output type changes planned for Az version 16.0.0 / module version 2.0.0. These notices inform users about deprecated and new output properties, replacement output type names, and behavioral changes (such as new NoWait switch parameters for remediation cmdlets).

Changes:

  • Added CmdletOutputBreakingChangeWithVersion attributes to all affected Attestation cmdlets (Get, New, Set)
  • Added CmdletOutputBreakingChangeWithVersion attributes to all Remediation cmdlets (Get, Start, Stop) and general Policy cmdlets (GetAzureRmPolicyEvent, GetAzureRmPolicyState, GetAzureRmPolicyStateSummary, GetAzPolicyMetadata)
  • Reorganized using directives in each file to follow a consistent ordering (Microsoft namespaces first, then System namespaces)

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
GetAzureRmPolicyAttestation.cs Added breaking change notice for PSAttestation output type changes (SystemData deprecated, new flattened SystemData properties)
NewAzureRmPolicyAttestation.cs Added same breaking change notice as Get/Set for attestation output type changes
SetAzureRmPolicyAttestation.cs Added same breaking change notice as Get/New for attestation output type changes
GetAzureRmPolicyRemediation.cs Added breaking change notice for PSRemediation output type; deprecated Filters, DeploymentSummary, FailureThreshold, ParallelDeployments; added new flattened properties
StartAzureRmPolicyRemediation.cs Added breaking change notice for PSRemediation output type with same property changes, plus behavioral change (new NoWait parameter)
StopAzureRmPolicyRemediation.cs Added breaking change notice for bool output type with ReplacementCmdletOutputTypeName = "Remediation" and a new NoWait parameter description
GetAzureRmPolicyEvent.cs Added breaking change notice for PolicyEvent output type with property renames; contains a typo ("Vales" instead of "Values")
GetAzureRmPolicyState.cs Added breaking change notice for PolicyState output type with property renames
GetAzureRmPolicyStateSummary.cs Added breaking change notice for PolicyStateSummary output type with property renames
GetAzPolicyMetadata.cs Added breaking change notice for PSPolicyMetadata output type with a new ResourceGroupName property

@isra-fel
Copy link
Member

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@NoriZC
Copy link
Collaborator

NoriZC commented Mar 2, 2026

@NoriZC NoriZC self-assigned this Mar 2, 2026
@github-actions
Copy link

github-actions bot commented Mar 2, 2026

This PR was labeled "needs-revision" because it has unresolved review comments or CI failures.
Please resolve all open review comments and make sure all CI checks are green. Refer to our guide to troubleshoot common CI failures.

@isra-fel
Copy link
Member

isra-fel commented Mar 2, 2026

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants