Skip to content

Commit fa91ec5

Browse files
committed
fix: missing partition key
1 parent 49d1cd1 commit fa91ec5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/CIPPCore/Public/Entrypoints/Invoke-ListLogs.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function Invoke-ListLogs {
2222
} elseif ($Request.Query.logentryid) {
2323
# Return single log entry by RowKey
2424
$DateFilter = $Request.Query.DateFilter ?? (Get-Date -UFormat '%Y%m%d')
25-
$Filter = "RowKey eq '{0}'" -f $Request.Query.logentryid, $DateFilter
25+
$Filter = "RowKey eq '{0}' and PartitionKey eq '{1}'" -f $Request.Query.logentryid, $DateFilter
2626
$AllowedTenants = Test-CIPPAccess -Request $Request -TenantList
2727
Write-Host "Getting single log entry for RowKey: $($Request.Query.logentryid)"
2828

0 commit comments

Comments
 (0)