We help IT Professionals succeed at work.

Upgrade Address Lists Exchange 2003-2010

tolinrome
tolinrome asked
on
Medium Priority
1,697 Views
Last Modified: 2012-05-12
According to this migration article "rapid-transition-guide-from-exchange-2003-to-exchange-2010" - after I move the OAB generation server from 2003 - 2010 I then need to upgrade address lists. It mentions that 2010 does not support LDAP filters.
 
Does this mean that if I dont have LDAP filters this step is not necessary?
How do I know if I am using custom LDAP filters on 2003?

I'm a bit confused as to what exactly, if anything, that I need to do.
According to this other article: http://blogs.technet.com/b/ilvancri/archive/2010/06/15/don-t-forget-to-update-your-ldap-filters-to-opath-filters-when-transitioning-from-exchange-2003-to-exchange-2010.aspx
it says that if I have to covert the address lists from LDAP to OPATH then I need to do this:
Converting the default Address Lists is not that complicated, for example converting the default address lists, you just need to run the following lines:

Set-AddressList “All Users” –IncludedRecipients MailboxUsers

Set-AddressList "All Groups" -IncludedRecipients MailGroups

Set-AddressList "All Contacts" -IncludedRecipients MailContacts

Set-AddressList "Public Folders" -RecipientFilter { RecipientType -eq 'PublicFolder' }

The Default Global Address List is a bit more complicated…

Set-GlobalAddressList "Default Global Address List" -RecipientFilter {(Alias -ne $null -and (ObjectClass -eq 'user' -or ObjectClass -eq 'contact' -or ObjectClass -eq 'msExchSystemMailbox' -or ObjectClass -eq 'msExchDynamicDistributionList' -or ObjectClass -eq 'group' -or ObjectClass -eq 'publicFolder'))}


http://blogs.technet.com/b/ilvancri/archive/2010/06/15/don-t-forget-to-update-your-ldap-filters-to-opath-filters-when-transitioning-from-exchange-2003-to-exchange-2010.aspx

Then it says if I need to convert custom LDAP address lists then I have to run a script that I can download.

How do I know (if anything) what I have to do?

Thanks!
Comment
Watch Question

CERTIFIED EXPERT

Commented:
You have to follow this step, LDAP filters or not.
Even the "without ldap filters" address lists will be upgraded.

But for the objects on which you have ldap filters (IE : All contacts, all users....and personnal adress lists...), you will have to determine if the OPATH filters are enough to give you the same results, or change the way you marked the object in order to be able to define a new OPATH filter on thes objects.

If you have only default address lists, no customs, the commands you have there are enough

Author

Commented:
Well, this is what I have on Exchange 2003. Are these lists all default lists?
Address-List.JPG
CERTIFIED EXPERT

Commented:
Nope
resource List is not by default. Can you publish the result of get-addresslist "Resource List" | fl

Author

Commented:
Here it is:


PS-Address-List.JPG
CERTIFIED EXPERT
Commented:
This is typically a customlist that uses an LDAP filter on the attributes "description" of your mailboxes ... the list contains all mailboxes that description is "Resource Account".

This filter is not usable as it is with Exchange 2010.
You will have to find all thes accounts and set per exemple their ExtensionAttribute1 as "Resource Account", then you can create via the GUI a new address list, filtering on the extensionAttribute1 attribute
and delete the old address list

it will be easier for you to recreate a new one i think, as it will help you to understand the new filters that you are able to use.

Author

Commented:
Ok, if I dont do this right away, will this cause any email problems?
CERTIFIED EXPERT

Commented:
not at all.