diff --git a/Modules/CIPPCore/Public/Entrypoints/Orchestrator Functions/Start-AuditLogOrchestrator.ps1 b/Modules/CIPPCore/Public/Entrypoints/Orchestrator Functions/Start-AuditLogOrchestrator.ps1 index 3af3c2e869ac..bd6aac0c3c59 100644 --- a/Modules/CIPPCore/Public/Entrypoints/Orchestrator Functions/Start-AuditLogOrchestrator.ps1 +++ b/Modules/CIPPCore/Public/Entrypoints/Orchestrator Functions/Start-AuditLogOrchestrator.ps1 @@ -15,7 +15,7 @@ function Start-AuditLogOrchestrator { $TenantList = Get-Tenants -IncludeErrors # Round time down to nearest minute $Now = Get-Date - $StartTime = ($Now.AddSeconds(-$Now.Seconds)).AddMinutes(-30) + $StartTime = ($Now.AddSeconds(-$Now.Seconds)).AddHours(-1) $EndTime = $Now.AddSeconds(-$Now.Seconds) if (($AuditLogSearches | Measure-Object).Count -eq 0) {