Hello,
There seems to be a bug? in Exchange 2013. I'm running the following command
New-DynamicDistributionGroup -Name "Office Staff - WI" -Alias "Office_Staff_WI" -RecipientContainer "company.private/Employees/Midwest/Wisconsin" -RecipientFilter {((RecipientType -eq 'UserMailbox') -and (Title -eq 'Front Office Coordinator'))}
The last OU of the -recipientcontainer flag is being ignored (Wisconsin), and it is instead using Midwest as the last container.
The behavior is replicated when I use East/Delaware, and the -recipientcontainer ignores Delaware, and just uses East.
Any help would be greatly appreciated.