We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fa4eb6 commit 988eddaCopy full SHA for 988edda
Modules/CIPPCore/Public/Entrypoints/Invoke-ListBreachesTenant.ps1
@@ -18,7 +18,9 @@ Function Invoke-ListBreachesTenant {
18
$filter = $null
19
}
20
$usersResults = (Get-CIPPAzDataTableEntity @Table -Filter $filter).breaches | ConvertFrom-Json -ErrorAction SilentlyContinue
21
-
+ if ($usersResults -eq $null) {
22
+ $usersResults = @()
23
+ }
24
# Associate values to output bindings by calling 'Push-OutputBinding'.
25
Push-OutputBinding -Name Response -Value ([HttpResponseContext]@{
26
StatusCode = [HttpStatusCode]::OK
0 commit comments