Dyn Distribution Lists using recipient filter and recipient OU
Can someone verify the following for me: Creating Dynamic Distribution Lists in Exchange 2007. I start out by creating the DDL in the EMC and set the recipient container where I want to apply the filter and proceed to let the GUI set the precanned recipientfilter of allusers. Preview returns the users that exist in that OU. Now I want to go in and further refine the recipientfilter to exclude users with 'ExcludeFromDist' in the customattribute1 property of the mailbox account. I can successfully apply the new recipientfilter but when I do, it seems to now ignore the recipientcontainer attribute and returns all users even outside of the defined OU. Is it by design that I can only scope to an OU with only precanned filters? Can a DDL not be scoped by an OU and a custom recipient filter? Thanks, MikeMike Berryman
May 19th, 2011 3:19pm

On Thu, 19 May 2011 19:10:59 +0000, MBerryman wrote: > > >Can someone verify the following for me: > >Creating Dynamic Distribution Lists in Exchange 2007. I start out by creating the DDL in the EMC and set the recipient container where I want to apply the filter and proceed to let the GUI set the precanned recipientfilter of allusers. Preview returns the users that exist in that OU. > >Now I want to go in and further refine the recipientfilter to exclude users with 'ExcludeFromDist' in the customattribute1 property of the mailbox account. I can successfully apply the new recipientfilter but when I do, it seems to now ignore the recipientcontainer attribute and returns all users even outside of the defined OU. > >Is it by design that I can only scope to an OU with only precanned filters? Can a DDL not be scoped by an OU and a custom recipient filter? The "-RecipientContainer" parameter of the Set-DynamicDistributioGroup cmdlet is where you're set that value. --- Rich Matheisen MCSE+I, Exchange MVP --- Rich Matheisen MCSE+I, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
May 19th, 2011 10:12pm

Hi Mike, For this issue, please refer to these documents: Filterable Properties for the -RecipientFilter Parameter in Exchange 2007 SP1 and SP2 http://technet.microsoft.com/en-us/library/bb738157(EXCHG.80).aspx New-DynamicDistributionGroup http://technet.microsoft.com/en-us/library/bb125127.aspx How to Create a New Dynamic Distribution Group http://technet.microsoft.com/en-us/library/aa996561(EXCHG.80).aspx Per my test, I can use this command to create a Dynamic Distribution group with filter customattribute1(ExcludeFromDist): New-DynamicDistributionGroup -Name NewDDG -RecipientFilter {(CustomAttribute1 -eq 'ExcludeFromDist')} 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.
May 20th, 2011 1:22am

Ok, lets try this differently. Is it true that if the -recipientfiltertype is set to custom, the -recipientcontainer parameter is ignored? This has been my experience. [PS] C:\>Get-DynamicDistributionGroup z_test | fl name,recipientcontainer,recipientfilter,recipientfiltertype Name : z_test RecipientContainer : CORP.com/Corp/Special Services/Users RecipientFilter : ((CustomAttribute1 -ne 'ExcludeFromDist') -and (-not(Name -like 'SystemMailbox{*')) -and (-not(Name -like 'CAS_{*'))) RecipientFilterType : Custom When I preview the above settins of the DDL through the EMC, it shows users outside of the corp.com/corp/special services/users OU. If I change the -includedrecipients to allrecipients (precanned filter) and preview the results, I only see the users w/in the -recipientcontainer OU, but I have to remove the desired custom filter. Is this a problem with the preview button or is this by design? Mike Berryman
Free Windows Admin Tool Kit Click here and download it now
May 20th, 2011 1:55pm

Hi Mike, Yes, if you use the –Recipientfiltertype is set to custom, the –recipientcontainer parameter is ignored. When you want to keep the –recipientcontainer parameter, you can use this command to achieve the goal: New-DynamicDistributionGroup -Name NewDDG -RecipientContainer test.com/wow -IncludedRecipients MailboxUsers -ConditionalCustomAttribute1 "ExcludeFromDist" 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.
May 22nd, 2011 11:38pm

Hi Mike, How about the issue? If anything is unclear, please feel free to let me know. 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
May 29th, 2011 3:55am

That is what I feared. Thanks, Mike BerrymanMike Berryman
May 31st, 2011 12:26pm

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

Other recent topics Other recent topics