File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -552,17 +552,17 @@ function Invoke-CheckUsers {
552552 $SpCountAppLockNo = 0
553553 foreach ($object in $SPOwnerDetails ) {
554554 $SpCount ++
555- if ($object.AppLock -eq $true ) {
555+ if ($object.AppLock -eq $false ) {
556556 # takeover impact from SP
557557 $AddImpact += $object.Impact
558558 $SpCountAppLock ++
559- } elseif ($object.AppLock -eq $false ) {
559+ } elseif ($object.AppLock -eq $true ) {
560560 $SpCountAppLockNo ++
561561 # Otherwise, add SP impact or a base value (the lower one)
562562 if ($object.Impact -le $UserImpact [" SpOwnAppLock" ]) {
563- $object.Impact
563+ $AddImpact += $ object.Impact
564564 } else {
565- $UserImpact [" SpOwnAppLock" ]
565+ $AddImpact += $ UserImpact [" SpOwnAppLock" ]
566566 }
567567 } else {
568568 $SpCountAppLockUnknown ++
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ if ($ManualCode.IsPresent) {
7676}
7777
7878# Constants
79- $EntraFalconVersion = " V20250428 "
79+ $EntraFalconVersion = " V20250502 "
8080
8181# Define additional authentication parameters
8282$Global :GLOBALAuthParameters = @ {}
You can’t perform that action at this time.
0 commit comments