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
$ExistingBundles=Get-CIPPAzDataTableEntity@AuditBundleTable-Filter "PartitionKey eq '$($Item.TenantFilter)' and ContentType eq '$LogType' and Timestamp ge datetime'$($LastHour)'"
31
41
32
42
foreach ($Bundlein$LogBundles) {
33
43
if ($ExistingBundles.RowKey-notcontains$Bundle.contentId) {
Write-LogMessage-user $ExecutingUser-API $APIName-message "Failed to assign $GroupName to Policy $PolicyId. Error:$ErrorMessage"-Sev 'Error'-tenant $TenantFilter-LogData $ErrorMessage
83
+
Write-LogMessage-user $ExecutingUser-API $APIName-message "Failed to assign $GroupName to Policy $PolicyId, using Platform $PlatformType and $Type. The error is:$ErrorMessage"-Sev 'Error'-tenant $TenantFilter-LogData $ErrorMessage
0 commit comments