Forum Discussion
Dynamic Distribution Group with custom recipientfilter by Title contains no members
Works fine here:
[20:19:49][O365]# New-DynamicDistributionGroup -Name title -RecipientFilter {Title -eq "WC"}
Name ManagedBy
---- ---------
title
[20:20:29][O365]# Get-Recipient -RecipientPreviewFilter (Get-DynamicDistributionGroup title).recipientFilter
Name RecipientType
---- -------------
WC UserMailbox
[20:20:53][O365]# Get-Recipient WC | ft Name,title
Name Title
---- -----
WC WC
Probably some typo you've made in the string?
Ok, I just spotted what you are doing differently from what I am. To see what members were included in the filter, I was just running
(Get-DynamicDistributionGroup ddgtest).recipientpreviewfilter
When I run the command as you did, it does return the expected result:
PS U:\> get-recipient -RecipientPreviewFilter (Get-DynamicDistributionGroup ddgtest).recipientfilter Name RecipientType ---- ------------- Steve Whitcher UserMailbox
So, is this actually working and I was just not using the right command to verify membership? I wonder if I misread that somewhere or just made it up out of thin air...
Is it also not possible to expand the membership of a DDG in Outlook or OWA? That would explain why the group just disappeared when I tried to click the plus to expand it...
- VasilMichevOct 28, 2017MVP
You shouldnt even see an expand button, I'll report this...
The methods to preview DDG membership are listed here: https://technet.microsoft.com/en-us/library/bb232019(v=exchg.160).aspx