Hey All,
So I'm having a problem that's been perplexing me for days.
I have a dynamic DL (everyone DL) that is configured to filter both local mailboxes in my on-prem and remote mailboxes in 365. The filter is below.
> (Get-DynamicDistributionGroup everyone).RecipientFilter
((((((((((((((((((RecipientType -eq 'UserMailbox' -or recipienttypedetails -eq 'RemoteUserMailbox') -and (-not(CustomAt
tribute2 -like 'service')))) -and (-not(MemberOfGroup -eq 'DC=excludefromeveryonedl')))) -and (-not(CustomAttribute2 -l
ike 'resource')))) -and (-not(Name -like 'SystemMailbox{*')))) -and (-not(Name -like 'CAS_{*')))) -and (-not(RecipientT
ypeDetailsValue -eq 'MailboxPlan')))) -and (-not(RecipientTypeDetailsValue -eq 'DiscoveryMailbox')))) -and (-not(Recipi
entTypeDetailsValue -eq 'ArbitrationMailbox')))) -and (-not(Name -like 'SystemMailbox{*')) -and (-not(Name -like 'CAS_{
*')) -and (-not(RecipientTypeDetailsValue -eq 'MailboxPlan')) -and (-not(RecipientTypeDetailsValue -eq 'DiscoveryMailbo
x')) -and (-not(RecipientTypeDetailsValue -eq 'ArbitrationMailbox')))
When I run get-recipient -recipientpreviewfilter I see RemoteUserMailboxes as members so I know that membership isn't the problem but if I message track I do not see any RemoteUserMailboxes in the expand.
Has anyone come across this in a hybrid config? Am I missing something here or going about the filter the wrong way?
Thanks!