Skip to content

Commit

Permalink
fix duplicate prop in mailbox rules
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnDuprey committed Jan 10, 2025
1 parent 1f42db0 commit d878a76
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ Function Invoke-ListMailboxRules {
$Type = $TenantFilter
}
$Queue = New-CippQueueEntry -Name "Mailbox Rules ($Type)" -TotalTasks ($Tenants | Measure-Object).Count
$Batch = $Tenants | Select-Object defaultDomainName, @{Name = 'FunctionName'; Expression = { 'ListMailboxRulesQueue' } }, @{Name = 'QueueName'; Expression = { $_.defaultDomainName } }, @{Name = 'QueueId'; Expression = { $Queue.RowKey } }, @{Name = 'QueueName'; Expression = { $_.defaultDomainName } }

$Batch = $Tenants | Select-Object defaultDomainName, @{Name = 'FunctionName'; Expression = { 'ListMailboxRulesQueue' } }, @{Name = 'QueueName'; Expression = { $_.defaultDomainName } }, @{Name = 'QueueId'; Expression = { $Queue.RowKey } }
if (($Batch | Measure-Object).Count -gt 0) {
$InputObject = [PSCustomObject]@{
OrchestratorName = 'ListMailboxRulesOrchestrator'
Expand Down

0 comments on commit d878a76

Please sign in to comment.