Dynamic Distribution Group Creation doesn't seem to work as expected
Hi,
Trying to create a DDL that includes users based on the user's parent container which is:
new-DynamicDistributionGroup -Name "TEST ISSYSTEMS" -OrganizationalUnit "h2o.mydomain.com/Distribution Groups" -RecipientFilter {RecipientContainer -eq 'OU=ISSystems,DC=h2o,DC=mydomain,DC=com' -and RecipientTypeDetails -eq 'UserMailbox'}
Command runs fine and the DDL is created. But when I preview the list, it is empty.
Am I doing something wrong here?
M
July 26th, 2012 3:38pm
No help for this???
Free Windows Admin Tool Kit Click here and download it now
July 27th, 2012 10:07am
No help for this???
July 27th, 2012 10:12am
Are there user accounts in the 'OU=ISSystems,DC=h2o,DC=mydomain,DC=com' OU? It's filtering for users in this Org. Unit.
Free Windows Admin Tool Kit Click here and download it now
July 27th, 2012 10:45am
Are there user accounts in the 'OU=ISSystems,DC=h2o,DC=mydomain,DC=com' OU? It's filtering for users in this Org. Unit.
July 27th, 2012 10:50am
Yes there are. If I create the DDL using the -RecipientContainer parameter, it works properly. However, my ultimate goal is to create a DDL that includes users from more than one OU and thus cannot use -RecipientContainer to accomplish this.
Any help is greatly appreciated.
M
Free Windows Admin Tool Kit Click here and download it now
July 27th, 2012 5:15pm
Yes there are. If I create the DDL using the -RecipientContainer parameter, it works properly. However, my ultimate goal is to create a DDL that includes users from more than one OU and thus cannot use -RecipientContainer to accomplish this.
Any help is greatly appreciated.
M
July 27th, 2012 5:20pm
On Thu, 26 Jul 2012 19:38:47 +0000, MKSanchez wrote:
>
>
>Hi,
>
>Trying to create a DDL that includes users based on the user's parent container which is:
>
>
>
>new-DynamicDistributionGroup -Name "TEST ISSYSTEMS" -OrganizationalUnit "h2o.mydomain.com/Distribution Groups" -RecipientFilter {RecipientContainer -eq 'OU=ISSystems,DC=h2o,DC=mydomain,DC=com' -and RecipientTypeDetails -eq 'UserMailbox'}
>
>
>
>Command runs fine and the DDL is created. But when I preview the list, it is empty.
>
>
>
>Am I doing something wrong here?
Take the "RecipientContainer" out of the Recipient Filter and use this
parameter:
-RecipientContainer 'OU=ISSystems,DC=h2o,DC=mydomain,DC=com'
In fact, you should be able to remove the "-RecipientFilter" entirely
and just use "-IncludedRecipients MailboxUsers".
---
Rich Matheisen
MCSE+I, Exchange MVP
--- Rich Matheisen MCSE+I, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
July 27th, 2012 10:08pm
On Thu, 26 Jul 2012 19:38:47 +0000, MKSanchez wrote:
>
>
>Hi,
>
>Trying to create a DDL that includes users based on the user's parent container which is:
>
>
>
>new-DynamicDistributionGroup -Name "TEST ISSYSTEMS" -OrganizationalUnit "h2o.mydomain.com/Distribution Groups" -RecipientFilter {RecipientContainer -eq 'OU=ISSystems,DC=h2o,DC=mydomain,DC=com' -and RecipientTypeDetails -eq 'UserMailbox'}
>
>
>
>Command runs fine and the DDL is created. But when I preview the list, it is empty.
>
>
>
>Am I doing something wrong here?
Take the "RecipientContainer" out of the Recipient Filter and use this
parameter:
-RecipientContainer 'OU=ISSystems,DC=h2o,DC=mydomain,DC=com'
In fact, you should be able to remove the "-RecipientFilter" entirely
and just use "-IncludedRecipients MailboxUsers".
---
Rich Matheisen
MCSE+I, Exchange MVP
--- Rich Matheisen MCSE+I, Exchange MVP
July 27th, 2012 10:13pm
On Fri, 27 Jul 2012 21:15:57 +0000, MKSanchez wrote:
>Yes there are. If I create the DDL using the -RecipientContainer parameter, it works properly. However, my ultimate goal is to create a DDL that includes users from more than one OU and thus cannot use -RecipientContainer to accomplish this.
>
>
>
>Any help is greatly appreciated.
Create one DDL for each OU and add the DDLs to a "normal" distribution
group. Hide the DDLs from the GAL.
The OU is the base for the search. What you're trying to do is better
accomplished by use a unique value in some property that's common to
all the mailboxes you want to be included. No that property value will
follow the mailbox wherever it's moved to in the AD.
---
Rich Matheisen
MCSE+I, Exchange MVP
--- Rich Matheisen MCSE+I, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
July 27th, 2012 10:37pm
On Fri, 27 Jul 2012 21:15:57 +0000, MKSanchez wrote:
>Yes there are. If I create the DDL using the -RecipientContainer parameter, it works properly. However, my ultimate goal is to create a DDL that includes users from more than one OU and thus cannot use -RecipientContainer to accomplish this.
>
>
>
>Any help is greatly appreciated.
Create one DDL for each OU and add the DDLs to a "normal" distribution
group. Hide the DDLs from the GAL.
The OU is the base for the search. What you're trying to do is better
accomplished by use a unique value in some property that's common to
all the mailboxes you want to be included. No that property value will
follow the mailbox wherever it's moved to in the AD.
---
Rich Matheisen
MCSE+I, Exchange MVP
--- Rich Matheisen MCSE+I, Exchange MVP
July 27th, 2012 10:42pm
Hi Mksanchez,
Any update for your issue?
Above gave some good suggestion.
Regards!Gavin
TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
July 31st, 2012 5:41am
Hi Mksanchez,
Any update for your issue?
Above gave some good suggestion.
Regards!Gavin
TechNet Community Support
July 31st, 2012 5:42am