Skip to content

Commit c818a32

Browse files
authored
Merge pull request #402 from KelvinTegelaar/dev
[pull] dev from KelvinTegelaar:dev
2 parents 2cd93fb + 363dd37 commit c818a32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/AuditLogs/Get-CippAuditLogSearches.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function Get-CippAuditLogSearches {
3333
$Queries = New-GraphBulkRequest -Requests @($BulkRequests) -AsApp $true -TenantId $TenantFilter | Select-Object -ExpandProperty body
3434
$Queries = $Queries | Where-Object { $PendingQueries.RowKey -contains $_.id -and $_.status -eq 'succeeded' }
3535
} else {
36-
$Queries = New-GraphGetRequest -uri 'https://graph.microsoft.com/beta/security/auditLog/queries' -AsApp $true -tenantid $TenantFilter
36+
$Queries = New-GraphGetRequest -uri 'https://graph.microsoft.com/beta/security/auditLog/queries?$top=999' -AsApp $true -tenantid $TenantFilter
3737
}
3838
return $Queries
3939
}

0 commit comments

Comments
 (0)