You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/powershell/tests/Test-Assessment.21824.ps1
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,11 @@ function Test-Assessment-21824 {
53
53
$passed=$false
54
54
$testResultMarkdown=""
55
55
56
-
if ($filteredCAPolicies.Count-eq$matchedPolicies.Count) {
56
+
if ($filteredCAPolicies.Count-eq0) {
57
+
$passed=$false
58
+
$testResultMarkdown="No Conditional Access policies are targeting guests or external users. Sign-in frequency for guests is not enforced.`n`n%TestResult%"
0 commit comments