Resolution
Exchange Migrator 2.x
symptom
The target mailbox's 'Alias' becomes the 'Pre-Windows 2000 account name' instead of retaining the Alias of the source Exchange 5.5 mailbox.
cause
You are merging on an existing account that has a samAccountName (pre-Windows 2000 logon) that is different than the mailbox alias (mailNickname).
fix
This issue is resolved in Exchange Migrator 2.3. Exchange Migrator 2.3 can be downloaded from the following Extended Support link:
- Exchange Migrator 2.3 Upgrade - https://www.netiq.com/support/em/extended/upgrade.asp
note
The current workaround for versions of Exchange Migrator 2.x prior to version 2.3 is to use scripting to update the target alias. This combination of Pre and Post Mailbox scripts will use the source Exchange 5.5 Alias (uid) to populate the target Exchange 2000 alias (mailNickname).
Pre mailbox script
varsetObject.put "DirMigr.TargetObject.Alias", sourceIADs.uid
Post mailbox script
targetIADs.mailNickname = sourceIADs.uid
targetIADs.setinfo
The Pre script makes sure that EM puts the right alias in the MigrationInfo table. The Post script actually updates the target alias