Exchange 2007 problem - Dynamic distribution group filter
Hi,
I've been having an issue with the custom filter for creating dynamic
distribution group (DDG) via Exchange shell, particulary with the property
"database" of the "recipientfilter" parameter.
According to the MS documentation, property "database" accepts the
following three values: "mailbox database", "identity" and "distinguished
name". I can only get results if using distinguished name, others give an
error (see below).
Now distinguished name would be fine by me, as it's easily obtainable
property of the database, however, once the DDG is created, my "distinguished
name" which I specified in the command line is converted into "identity"
value in the DDG object.
In other words, my command goes somethign like this:
New-DynamicDistributionGroup -Name DynamicDG -OrganizationalUnit
"something.com/Exchange Groups/Dynamic Distribution Groups" -Recipientfilter
{((database -eq 'CN=DB2,CN=SG2,......CN=Configuration,DC=something,DC=com')
-and (isresource -eq $false))}
Which works, and creates the DDG named DynamicDG. However, the Recipient
filter property of this database shows as:
"Exchange\StorageGroupXY\DatabaseXY". This is not distinguisned name - as
I've entered above, it's "identity" of the database, which somehow got
correctly translated, and it should still work, but it doesn't. And so the
query fails when this DDG is called to work. Error says "The string
"Exchange\StorageGroupXY\DatabaseXY" does not represent a valid distinguished
name"
Any clues would be appreciated? How do I force distinguished name to stick,
or identity to be accepted? Thanks.
date: Tue, 17 Jun 2008 10:05:01 -0700
author: Sinisa T.