You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Modules/CIPPCore/Public/Webhooks/Test-CIPPAuditLogRules.ps1
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -92,7 +92,7 @@ function Test-CIPPAuditLogRules {
92
92
$Data.clientip=$Data.clientip-replace':\d+$',''# Remove the port number if present
93
93
}
94
94
# Check if IP is on trusted IP list
95
-
$TrustedIP=Get-CIPPAzDataTableEntity@TrustedIPTable-Filter "PartitionKey eq '$TenantFilter'and RowKey eq '$($Data.clientip)' and state eq 'Trusted'"
95
+
$TrustedIP=Get-CIPPAzDataTableEntity@TrustedIPTable-Filter "((PartitionKey eq '$TenantFilter') or (PartitionKey eq 'AllTenants')) and RowKey eq '$($Data.clientip)' and state eq 'Trusted'"
0 commit comments