Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

Dynamic Distribution Group - Convert LDAP to OPATH

$
0
0

We currently are in a transistional state as we are in the process of migrating from Exchange 2003 to Exchange 2010.

We currently have some dynamic distribution groups that were created using LDAP. The LDAP code is shown below:

(&(!cn=SystemMailbox{*})(&(&(&(& (mailnickname=*) (| (&(objectCategory=person)(objectClass=user)(msExchHomeServerName=/O=Company/OU=MAIL/cn=Configuration/cn=Servers/cn=ExchSvr01)) )))(objectCategory=user)(!mail=cllr*))))

The above code is used to find a users on a specific Exchange server, where their email address does not start with cllr. These dynamic distribution groups using LDAP are working fine.

I understand that to be able to manage these Dynamic Distribution Groups within Exchange 2010 and the new management consoles, that we need to convert or re-create these using OPATH syntax.

I have tried creating a new Dynamic Distribution Group using the following PowerShell, but no results were returned, when I preview using EMC:

New-DynamicDistributionGroup - Name "emailusersonExchSvr01" -OrganizationalUnit "Domain/OU/OU" -RecipientFilter { ( -not  ( CommonName -like 'SystemMailbox{*}' ) -and ( ( ( Alias -ne $null ) -and ( ( ObjectCategory -like 'person' ) -and ( ObjectClass -eq 'user' ) -and ( ServerLegacyDN -eq '/O=Company/OU=MAIL/cn=Configuration/cn=Servers/cn=ExchSvr01' ) ) ) -and ( ObjectCategory -like 'user' ) -and -not  ( WindowsEmailAddress -like 'cllr*' ) ) ) }

What am I doing wrong?


Kevin Evans


Viewing all articles
Browse latest Browse all 7132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>