Dynamic Distribution Group not filtering based on attribute.
I've built a Dynamic Distribution Group with the following filter: ((CustomAttribute14 -like 'YES*') -and (-not(Name -like 'SystemMailbox{*')) -and (-not(Name -like 'CAS_{*')) -and (-not(RecipientTypeDetailsValue -eq 'MailboxPlan')) -and (-not(RecipientTypeDetailsValue -eq 'DiscoveryMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'ArbitrationMailbox'))) I'm trying to build the group with only people who have ExtensionAttribute14 populated as 'YES' and this query isn't returning any users. Any thoughts?
June 2nd, 2011 12:38pm

On Thu, 2 Jun 2011 16:30:06 +0000, John Owens - BDC wrote: > > >I've built a Dynamic Distribution Group with the following filter: > > > >((CustomAttribute14 -like 'YES*') -and (-not(Name -like 'SystemMailbox{*')) -and (-not(Name -like 'CAS_{*')) -and (-not(RecipientTypeDetailsValue -eq 'MailboxPlan')) -and (-not(RecipientTypeDetailsValue -eq 'DiscoveryMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'ArbitrationMailbox'))) > >I'm trying to build the group with only people who have ExtensionAttribute14 populated as 'YES' and this query isn't returning any users. Any thoughts? How have you determined that the recipient filter isn't selecting anything? --- Rich Matheisen MCSE+I, Exchange MVP --- Rich Matheisen MCSE+I, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
June 2nd, 2011 10:37pm

Preview button on list setup shows no users. I actually solved my issue.. the OU the list was building from was empty. We don't use the default 'Users' container.
June 3rd, 2011 1:13am

Hi John, Please make sure there are users have CustomAttribute14 populated as ‘YES’. You can check this attribute by this way: Exchange Management Console->Recipient Configuration->Mailbox->users->Properties->Custom Attributes->check whether ‘YES’ is listed in CustomAttribute14 I tested in my lab (Exchange 2010 SP1): New-DynamicDistributionGroup -Name NewDDG10 -RecipientFilter {(CustomAttribute14 -like 'YES*')} I can see the users (with CustomAttribute14 populated as ‘YES’). You can check the users by this way: Exchange Management Console->Recipient Configuration->Distribution Group->the group you created->Properties->Filter->Preview Thanks, Evan Liu TechNet Subscriber Support in forum If you have any feedback on our support, please contact tngfb@microsoft.com Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
June 3rd, 2011 2:14am

On Fri, 3 Jun 2011 05:05:39 +0000, John Owens - BDC wrote: >Preview button on list setup shows no users. I actually solved my issue.. the OU the list was building from was empty. We don't use the default 'Users' container. That preview thing doesn't always work. If you get results that don't look correct, use these two cmdlets: $m = Get-DynamicDistributionGroup <name> Get-Recipient -RecipientPreviewFilter $m.RecipientFilter -OrganizationalUnit $m.RecipientContainer --- Rich Matheisen MCSE+I, Exchange MVP --- Rich Matheisen MCSE+I, Exchange MVP
June 4th, 2011 3:44am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics