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
Write-Host"Error getting user with Id $($member.Id):`n$_"-ForegroundColor Red
212
-
return$null
213
+
$memberCache[$cacheKey] =$false
214
+
return$false
213
215
}
214
216
# Compare the user's email address with the $email parameter
215
217
if ($user.Mail-eq$Email.ToString()) {
@@ -351,7 +353,6 @@ begin {
351
353
break
352
354
} else {
353
355
Write-DetailedExplanationOption-Message "No Group match because $($Email.ToString()) is not a member of Group $($groupObjectId)"-ShowDetailedExplanation:$ShowDetailedExplanation
354
-
break
355
356
}
356
357
}
357
358
}
@@ -370,7 +371,6 @@ begin {
370
371
break
371
372
} else {
372
373
Write-DetailedExplanationOption-Message "$($Email.ToString()) is not excluded from rule by membership in Group $($groupObjectId)"-ShowDetailedExplanation:$ShowDetailedExplanation
0 commit comments