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

Fix OnlyCheckManagedAssignments in New-AzRemediationTasks #696

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

DavidRobson
Copy link
Contributor

When running New-AzRemediationTasks -OnlyCheckManagedAssignments on a management group that contains policy assignments owned by another pacEnvironment, remediations will be run on the other environments policy assignments as well.

It looks like there was a mistake in the if statement in this file.

Also noticed a mistake in the comment so corrected that as well.

Have tested this locally and resolved the issue I was having.

@anwather anwather merged commit b20f7e6 into Azure:main Jul 8, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants