Skip to content

Conversation

Iam-Manishkumar
Copy link
Contributor

@Iam-Manishkumar Iam-Manishkumar commented Aug 29, 2025

Description

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

Copy link

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

@Iam-Manishkumar
Copy link
Contributor Author

@VeryEarly VeryEarly self-assigned this Sep 2, 2025
@VeryEarly
Copy link
Collaborator

Hi @Iam-Manishkumar ,
Can you please provide context or evidence to proof this change is valid? We do not own the service and cannot tell the policy.

@Iam-Manishkumar
Copy link
Contributor Author

Hi @VeryEarly

To provide context: Azure Policy remediation is supported for both deployIfNotExists and modify effects. This is documented right here. https://learn.microsoft.com/en-us/azure/governance/policy/how-to/remediate-resources?tabs=azure-portal and https://learn.microsoft.com/en-us/azure/governance/policy/how-to/remediate-resources?tabs=azure-powershell#create-a-remediation-task

I also validated this in my own subscription by running Start-AzPolicyRemediation against a policy assignment with the modify effect, and the remediation completed successfully on non-compliant resources.

This PR updates the documentation stating that both deployIfNotExists and modify effects can be remediated using the pwsh Start-AzPolicyRemediation.

@VeryEarly
Copy link
Collaborator

/azp run

Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@VeryEarly VeryEarly merged commit 3a3d8b0 into Azure:main Sep 4, 2025
13 checks passed
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.

2 participants