Skip to content

Commit

Permalink
handle no tenants on list
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnDuprey committed Feb 25, 2025
1 parent 45e2089 commit 1c63f4f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ Function Invoke-ExecAccessChecks {
} catch {
$LastRun = $null
}

if (!$Results) {
$Results = @()
}
} catch {
Write-Host $_.Exception.Message
$Results = @()
Expand Down

0 comments on commit 1c63f4f

Please sign in to comment.