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 426427c commit 90b1bbbCopy full SHA for 90b1bbb
Modules/CIPPCore/Public/AuditLogs/New-CIPPAuditLogSearchResultsCache.ps1
@@ -74,7 +74,7 @@ function New-CIPPAuditLogSearchResultsCache {
74
$FailedDownloadsTable = Get-CippTable -TableName 'FailedAuditLogDownloads'
75
$failedEntities = Get-CIPPAzDataTableEntity @FailedDownloadsTable -Filter "PartitionKey eq '$TenantFilter' and SearchId eq '$SearchId'"
76
if ($failedEntities) {
77
- Remove-AzDataTableEntity @FailedDownloadsTable -Entity $entity
+ Remove-AzDataTableEntity @FailedDownloadsTable -Entity $failedEntities
78
Write-Information "Removed failed download records for search ID: $SearchId, tenant: $TenantFilter"
79
}
80
} catch {
0 commit comments