This article was previously published under Q306213
This article has been archived. It is offered "as is" and will no longer be updated.
While you are migrating a large organization from Exchange Server 5.5 to Exchange 2000 Service Pack 1 or later, and you use the Exchange Migration Wizard Service Pack 1 (SP1), the mailboxes are successfully migrated, but all of the custom attributes are deleted.
This issue can occur if Service Pack 2 (SP2) has not been applied.
The first step in migrating the organization is to use the Active Directory Migration Tool (ADMT) to migrate the user accounts, including Security Identifiers (SIDs). The next step is to run the Active Directory Connector (ADC) to copy directory/Exchange information, including e-mail addresses and custom attributes. The third step is to use the Migration Wizard, and this is the step where the mailbox is migrated but all of the custom attributes are deleted.
To work around this issue if SP2 has not been applied, use this three-step procedure to retain the custom attributes for a mailbox in Exchange 2000:
Export the custom attributes to a file before you use the Migration Tool to migrate the mailbox.
Modify the output file.
Import the custom attributes back into the Active Directory after the mailbox has been migrated.
While you are migrating a large organization,there may be a period of coexistence while some users and their mailboxes have been migrated to the Active Directory and Exchange 2000. To mitigate the effects of coexistence, administrators often use ADMT and ADC in conjunction with the Migration Wizard. A typical scenario is described in the following procedure, which allows the capture of attribute information for later import after the mailbox migration is complete.
Export the Custom Attributes to a File
This section uses two custom attributes from the Active Directory to demonstrate how to export custom attributes to a file. These two attributes, extensionAttribute1 and extensionAttribute2, correlate to the first two custom attributes that are brought over from Exchange 5.5 by the ADC.
The following example command exports these attributes from a specific OU in the Active Directory:
The two attributes are exported from the OUName OU to a file named Export1.ldf. The –r "(objectClass=user)" part of the command-line syntax limits the export to user objects only. The output file looks like this:
This step ensures that the proper modifications are made to the user objects. You must modify the Export1.ldf file so that the custom attributes can be reapplied to the user objects. Make the following changes to the file:
Save the Export1.ldf file as Import1.ldf.
Change the changetype from add to modify
Add the following line in front of every attribute in the list:
After every attribute name, add a hyphen (-) on an otherwise blank line. This is necessary for the import to work. Note that there is a blank line between object modifications, and there is also a blank line at the end of the file.