From 0ca51fcb8eab03f0c9940685cc685d3c3eb04ec4 Mon Sep 17 00:00:00 2001 From: Pascal-Tobias Mohr <46327616+PTMohr@users.noreply.github.com> Date: Tue, 10 Dec 2024 13:36:56 +0100 Subject: [PATCH] fix(Test-MtCaGroupsRestricted): Wrong case in variable --- powershell/public/Test-MtCaGroupsRestricted.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powershell/public/Test-MtCaGroupsRestricted.ps1 b/powershell/public/Test-MtCaGroupsRestricted.ps1 index e1a12bcc1..efaf6b945 100644 --- a/powershell/public/Test-MtCaGroupsRestricted.ps1 +++ b/powershell/public/Test-MtCaGroupsRestricted.ps1 @@ -52,7 +52,7 @@ Function Test-MtCaGroupsRestricted { -not $_.isManagementRestricted -and -not $_.isAssignableToRole } - $result = ($unrestrictedGroups | Measure-Object).Count -eq 0 + $result = ($UnrestrictedGroups | Measure-Object).Count -eq 0 if ( $result ) { $ResultDescription = "Well done! All security groups with assignment in Conditional Access are protected!"