Answered by:
Exchange 2007 Export to PST and Import to Exchange 2007

Question
-
HI All,
We doing Interforest migration. We already set the trust and migrate the users using ADMT.
I have noticed that no exchange attributes are migrated.
So what is the method/command to export and import to new exchange server?
AS
Thursday, April 12, 2012 8:36 AM
Answers
-
AUSSUPPORT, contact me via Jason.Sherry@service1.net if you are interested in getting my assistance with your design and/or migration.
If this post helps to resolve your issue, please click the "Propose as Answer" If you find it helpful , mark it as helpful by clicking on "Vote as Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster. If you need an expert migration consultant to assist your organization feel free to contact me directly.
Jason Sherry | Blog | Hire Me | Twitter: @JasonSherry
Microsoft Infrastructure Architect, MCSE: M, MCTIP, Microsoft Exchange MVP- Marked as answer by Fiona_LiaoModerator Tuesday, April 24, 2012 8:29 AM
Wednesday, April 18, 2012 5:57 PM
All replies
-
Hi
Whats problem with Exchange attributes ? Do you read that article http://blogs.technet.com/b/exchange/archive/2006/11/02/3396084.aspx ?
- Proposed as answer by Fiona_LiaoModerator Friday, April 13, 2012 5:50 AM
Thursday, April 12, 2012 12:46 PM -
Your issue Title infers that you are doing and Export to PST and then Import from PST to the new server, however in the detail you talk about using ADMT, so perhaps uyou could clarify what you have done so far step by step and whats missing from your perspective.
Troy Werelius
www.Lucid8.com
Search, Recover, & Extract Mailboxes, Folders, & Email Items from Offline EDB's and Live Exchange Servers with Lucid8's DigiScopeThursday, April 12, 2012 3:06 PM -
See the article Troy pointed you to and you will see that you can use the Move-Mailbox cmdlet to move mailboxes across forest. Also see TechNet: Upgrading to Exchange 2007 & How to Move a Mailbox Across Forests
But moving the mailbox data is only part of the migration process for most projects I work on. Most clients want mail flow to work before, during, and after the migration between both forest and also want to migrate distribution groups and contacts also. If you use ADMT it will only migrate some of the AD attributes for users and groups, the Exchange attributes are not migrated since they are unique to the forest the object exist in. So you will lose e-mail address, delivery restrictions, delegate info, and more. Therefore, you need to use other tools (3rd party or scripts) to migrate and convert the additional attributes to do a full fidelity migration.
If you just migration the mailbox data, using Move-Mailbox or PSTs, users will be unable to reply to exiting message and update attendees on exiting meetings. This is due to the fact that Exchange stores the LegacyExchangeDN\X.500 address of the object on messages and calendar items. So when migrating mailboxes across forest you need to add the source mailbox LegacyExchangeDN as an additional x500 address on the target mailboxes.
Exchange 2010 includes a script that will do this for mailboxes, see TechNet: Prepare Mailboxes for Cross-Forest Move Requests for more details. This script will create a Mail Enabled user object in the target forest for a source mailbox, this provide the ability to provide a similar GAL to users in both forest during the migration. It also copies and converts key attributes, like their LegacyExchangeDN -> x500 address, to the target user object. Then when you use the New-MoveRequest cmdlet the Mail Enabled user will be changed to a Mailbox Enabled user, their data will be copied into their new mailbox, and the source mailbox will be deleted and their user object in the source forest will be changed to a Mail Enabled object. In Exchange 2007 you have to use 3rd party tools or script to do the same thing.
Doing a full fidelity cross forest migration is a complex process that takes many hours of planning, testing, and work to provide a smooth migration. I've done dozens of them and each one is a bit different and different issues come up in about every one. If you need an expert migration consultant to assist your organization feel free to contact me directly.
<If this post helps to resolve your issue, please click the "Propose as Answer" If you find it helpful , mark it as helpful by clicking on "Vote as Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster>Microsoft Infrastructure Architect, MCSE: M, MCTIP, Microsoft Exchange MVP http://info.izzy.org | http://jasonsherry.org | Twitter: @JasonSherry
- Proposed as answer by Jason Sherry Thursday, April 12, 2012 4:35 PM
Thursday, April 12, 2012 4:24 PM -
HI Jason,
Thank you so much for detail information. I have migrate few users and set the Outlookanywhere to work in new domain.
Pls explain followings
1. How to migrate distribution groups and contacts ?
2. How to import mailbox from PST and attached to the users in new domain ?
As
Sunday, April 15, 2012 10:15 PM -
Regarding the Importation of the mailbox data if you are open to an alternate method you could do the following
1. Take the production databases offline and make copies of them
2. Rename the DB and Log path
3. Mount the databases and Exchange will tell you that if you continue you will create new blank databases. Say yes and the new dial tone databases will be created
4. Now use the MS Mailbox migration to complete the move of the empty mailboxes which will go much faster since there is no data within
5. Next place a copy of the original databases on a machine that is a member of the new target forest.
6. Open the copy of the offline Exchange databases using Lucid8's DigiScope http://www.lucid8.com/product/digiscope.asp
7. Right click on the offline database that is mounted in DigiScope and select Restore Wizard
8. DigiScope will first try to do a GUID match, however that will fail since the target is a new forest, and when that happens DigiScope will do an estimated name match and will bring up a grid for you to review
9. Review the matches, make adjustment and submit the restoration job.
10. DigiScope will complete the importation while users work, i.e. no interruption of service however the historical data will not be present until the restore is done for each specific mailbox. If you have high priority restorations you can choose to mount and then restore selected mailboxes before moving on to others
Troy Werelius
www.Lucid8.com
Search, Recover, & Extract Mailboxes, Folders, & Email Items from Offline EDB's and Live Exchange Servers with Lucid8's DigiScopeSunday, April 15, 2012 10:55 PM -
There are many steps to get groups and contacts over, here's some scripts and commands to get the basic attributes over
Contacts:
Export from source forest:ldifde -f contacts.ldf -o "whenCreated, whenChanged, uSNCreated,uSNChanged, proxyAddresses, replicatedObjectVersion, objectGUID, showInAddressBook, dSCorePropagationData, replicationSignature, msExchALObjectVersion, msExchADCGlobalNames, dLMemDefault, msExchPoliciesIncluded, memberOf" -r "(objectClass=contact)"
Import into target forest:
ldifde -k -i -f contacts.ldf -j C:\ -c "DC=oldforest,DC=local" "DC=newforest,DC=local"
Get-Recipient | Update-Recipient
-This command will use EAPs to then setup the e-mail addresses on the newly imported contactsBut this won't include group membership or e-mail addresses.
Groups:
Export groups script: http://izzy.org/scripts/Exchange/Migration/Export-GroupMembers.ps1
Import groups script: http://izzy.org/scripts/Exchange/Migration/Import-GroupMembers.ps1Export groups SMTP addresses: http://izzy.org/scripts/Exchange/Migration/Export-GroupsSMTP.ps1
Import group SMTP addresses: http://izzy.org/scripts/Exchange/Migration/Import-GroupsSMTP.ps1The above scripts don't get any delivery restrictions, ownership\manager properties, permissions, and other settings.
You can export the delivery restrictions using these EMS cmdlets:
Get-DistributionGroup | Where-Object {$_.AcceptMessagesOnlyFromSendersOrMembers -ne $Null} | Select Alias, @{Name='AcceptMessagesOnlyFromSendersOrMembers';Expression={[string]::join(";", ($_.AcceptMessagesOnlyFromSendersOrMembers))}} | Export-Csv -NoType -encoding "unicode" GroupsAcceptFrom.csv
Get-DistributionGroup | Where-Object {$_.RejectMessagesFromSendersOrMembers -ne $Null} | Select Alias, @{Name='RejectMessagesFromSendersOrMembers';Expression={[string]::join(";", ($_.RejectMessagesFromSendersOrMembers))}} | Export-Csv -NoType -encoding "unicode" GroupsRejectFrom.csv
I do NOT recommend using PSTs to Export\Import your Mailbox data since this will break replies to previously received messages and meeting attendees. To prevent these issues you have to copy the LegacyExchangeDN from the source domain into an x500 address on the new mailbox for the same user in the target domain. Exchange 2007 also support migrating the mailbox data across forest without taking the source mailbox database off-line. Using the Move Mailbox Wizard you can move one mailbox at a time or all of them over a weekend.
Again, doing a cross forest migration is a complex process and VERY VERY error prone. So if you want to minimize downtime and issues I highly recommend getting professional assistance.
If you would like assistance with your migration please contact me to provide a statement of work and quote to assist in your migration.
Note: The scripts and code examples above are provided as-is with no support via forums or e-mail.
If this post helps to resolve your issue, please click the "Propose as Answer" If you find it helpful , mark it as helpful by clicking on "Vote as Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster. If you need an expert migration consultant to assist your organization feel free to contact me directly.
Jason Sherry | Blog | Hire Me | Twitter: @JasonSherry
Microsoft Infrastructure Architect, MCSE: M, MCTIP, Microsoft Exchange MVP
- Edited by Jason Sherry Monday, April 16, 2012 11:22 PM Fixed an invalid URL
- Proposed as answer by Jason Sherry Tuesday, April 17, 2012 2:40 PM
Monday, April 16, 2012 10:59 PM -
Great info from Jason and as he stated there are allot of things to consider and if you use the PST shuffle method or a 3rd party product like DigiScope you will need to address the LegacyExchangeDN Here is a link that describes the issue http://www.msexchange.org/tutorials/Understanding-LegacyExchangeDN.html , but in short POST moving of data from one domain/forest to another there is an MS problem where imported messages calendar items/appointments made from the old system will fail on acceptance, updates and other replies and modifications may not work right because the X500 addresses from the original Exchange server cannot resolve to the mailboxes in the new Exchange server.
Here are some details about that problem and how to resolve. Basically, you need to obtain the legacyExchangeDN from the old Exchange install to be added to the new recipients as an X500 format ProxyAddress entry. It's not too bad to do, once you know what to do but it can cause a major amount of frustration for the administrator and end users
Here is a simple “how to” method http://blogs.technet.com/b/sbs/archive/2009/05/21/cannot-reply-to-old-emails-or-modify-old-calendar-items-after-pst-mail-migration.aspx
Here is another article that may be more helpful as well http://www.simple-talk.com/sysadmin/exchange/exchange-e-mail-addresses-and-the-outlook-address-cache/
Also check out this MS forum issue that discusses it in detail as well http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/f99244d7-facf-4ad9-a83e-f6d3baa1ba8b/
Microsoft also makes a LegacyExchangeDN tool http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=19034 The Tool is not really needed it just makes some of the change processes a bit easier than using ADSIEdit and the above first article shows how to use this toolTroy Werelius
www.Lucid8.com
Search, Recover, & Extract Mailboxes, Folders, & Email Items from Offline EDB's and Live Exchange Servers with Lucid8's DigiScope- Proposed as answer by Fiona_LiaoModerator Tuesday, April 17, 2012 9:46 AM
Monday, April 16, 2012 11:11 PM -
HI,
Thanks, Can i use the ADMT to migrate Distribution groups and assign the mailaddress through the script?
Not worry about the fail on acceptance, updates and other replies and modifications. Need fresh start but saving the Outlook Data
Now connecting to Source Exchange via Outlook Anywhere. What will happen to the OST when we change to the new exchange server?
As
Wednesday, April 18, 2012 12:37 PM -
There are many steps to get groups and contacts over, here's some scripts and commands to get the basic attributes over
Contacts:
Export from source forest:ldifde -f contacts.ldf -o "whenCreated, whenChanged, uSNCreated,uSNChanged, proxyAddresses, replicatedObjectVersion, objectGUID, showInAddressBook, dSCorePropagationData, replicationSignature, msExchALObjectVersion, msExchADCGlobalNames, dLMemDefault, msExchPoliciesIncluded, memberOf" -r "(objectClass=contact)"
Import into target forest:
ldifde -k -i -f contacts.ldf -j C:\ -c "DC=oldforest,DC=local" "DC=newforest,DC=local"
Get-Recipient | Update-Recipient
-This command will use EAPs to then setup the e-mail addresses on the newly imported contactsBut this won't include group membership or e-mail addresses.
Groups:
Export groups script: http://izzy.org/scripts/Exchange/Migration/Export-GroupMembers.ps1
Import groups script: http://izzy.org/scripts/Exchange/Migration/Import-GroupMembers.ps1Export groups SMTP addresses: http://izzy.org/scripts/Exchange/Migration/Export-GroupsSMTP.ps1
Import group SMTP addresses: http://izzy.org/scripts/Exchange/Migration/Import-GroupsSMTP.ps1The above scripts don't get any delivery restrictions, ownership\manager properties, permissions, and other settings.
You can export the delivery restrictions using these EMS cmdlets:
Get-DistributionGroup | Where-Object {$_.AcceptMessagesOnlyFromSendersOrMembers -ne $Null} | Select Alias, @{Name='AcceptMessagesOnlyFromSendersOrMembers';Expression={[string]::join(";", ($_.AcceptMessagesOnlyFromSendersOrMembers))}} | Export-Csv -NoType -encoding "unicode" GroupsAcceptFrom.csv
Get-DistributionGroup | Where-Object {$_.RejectMessagesFromSendersOrMembers -ne $Null} | Select Alias, @{Name='RejectMessagesFromSendersOrMembers';Expression={[string]::join(";", ($_.RejectMessagesFromSendersOrMembers))}} | Export-Csv -NoType -encoding "unicode" GroupsRejectFrom.csv
I do NOT recommend using PSTs to Export\Import your Mailbox data since this will break replies to previously received messages and meeting attendees. To prevent these issues you have to copy the LegacyExchangeDN from the source domain into an x500 address on the new mailbox for the same user in the target domain. Exchange 2007 also support migrating the mailbox data across forest without taking the source mailbox database off-line. Using the Move Mailbox Wizard you can move one mailbox at a time or all of them over a weekend.
Again, doing a cross forest migration is a complex process and VERY VERY error prone. So if you want to minimize downtime and issues I highly recommend getting professional assistance.
If you would like assistance with your migration please contact me to provide a statement of work and quote to assist in your migration.
Note: The scripts and code examples above are provided as-is with no support via forums or e-mail.
If this post helps to resolve your issue, please click the "Propose as Answer" If you find it helpful , mark it as helpful by clicking on "Vote as Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster. If you need an expert migration consultant to assist your organization feel free to contact me directly.
Jason Sherry | Blog | Hire Me | Twitter: @JasonSherry
Microsoft Infrastructure Architect, MCSE: M, MCTIP, Microsoft Exchange MVP
New Exchange in VM so if i hire you can set the design part too?
Wednesday, April 18, 2012 12:39 PM -
ADMT will migrate distribution groups with 3.*, but it won't bring over the correct Exchange attributes. I actually just got done working an issue where it was bringing over attributes it shouldn't.
To exclude the Exchange attributes, that ADMT should not be copying, run this VBScript on the server with ADMT installed:
ADMT-Exclude.vbs:
Set o = CreateObject("ADMT.Migration")
WScript.Echo o.SystemPropertiesToExclude
O.SystemPropertiesToExclude = "HomeMDB,HomeMTA,showInAddressBook,msExchHomeServerName, legacyExchangeDN, targetAddress, mail, mailnickName, proxyAddresses, mAPIRecipient, msExch*"
If ADMT is installed on a x64 system call the script using this command line:
c:\windows\syswow64\cscript.exe ADMT-Exclude.vbsThe scripts I provided, and AUSSUPPORT reposted, will bring over the groups and their SMTP addresses (only).
If you use the Exchange migration wizard, instead of creating a new mailbox and import data (Via PST or other methods) the mailbox will have the same GUID as the legacy mailbox and the OST will still be valid.If this post helps to resolve your issue, please click the "Propose as Answer" If you find it helpful , mark it as helpful by clicking on "Vote as Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster. If you need an expert migration consultant to assist your organization feel free to contact me directly.
Jason Sherry | Blog | Hire Me | Twitter: @JasonSherry
Microsoft Infrastructure Architect, MCSE: M, MCTIP, Microsoft Exchange MVP- Proposed as answer by Fiona_LiaoModerator Thursday, April 19, 2012 3:28 AM
Wednesday, April 18, 2012 5:56 PM -
AUSSUPPORT, contact me via Jason.Sherry@service1.net if you are interested in getting my assistance with your design and/or migration.
If this post helps to resolve your issue, please click the "Propose as Answer" If you find it helpful , mark it as helpful by clicking on "Vote as Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster. If you need an expert migration consultant to assist your organization feel free to contact me directly.
Jason Sherry | Blog | Hire Me | Twitter: @JasonSherry
Microsoft Infrastructure Architect, MCSE: M, MCTIP, Microsoft Exchange MVP- Marked as answer by Fiona_LiaoModerator Tuesday, April 24, 2012 8:29 AM
Wednesday, April 18, 2012 5:57 PM -
-
Hi,
I found that after i migrate the users, Exchange server list the users without the email address. Source domain not want to run the exchange migration due to bandwith cost, So what is the best way to change the users to new exchange with recent emails. Later we can import the old data from pst
i'm following Jason's instructions now
AS
Tuesday, April 24, 2012 10:29 AM -
You have to copy the LegacyExchangeDNs from the source forest to x500 addresses in the target forest. Only the LegacyExchangeDN is stored by Outlook\Exchange on internal e-mails. This goes for Mailboxes, Contacts, and Groups.
If this post helps to resolve your issue, please click the "Propose as Answer" If you find it helpful , mark it as helpful by clicking on "Vote as Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster. If you need an expert migration consultant to assist your organization feel free to contact me directly.
Jason Sherry | Blog | Hire Me | Twitter: @JasonSherry
Microsoft Infrastructure Architect, MCSE: M, MCTIP, Microsoft Exchange MVP- Proposed as answer by Fiona_LiaoModerator Wednesday, April 25, 2012 2:06 AM
Tuesday, April 24, 2012 4:11 PM -
Hi guys,
Good day!
can you please help me with my error for the microsoft exchange.
Sorry, we were unable to deliver your message to the following address
Remote host said: 550 No such person at this address [RCPT_TO]
--- Below this line is a copy of the message.
Received: from [66.94.237.126] by nm4.access.bullet.mail.mud.yahoo.com with NNFMP; 01 May 2012 02:44:51 -0000
Received: from [98.137.12.181] by tm1.access.bullet.mail.mud.yahoo.com with NNFMP; 01 May 2012 02:44:51 -0000
Received: from [127.0.0.1] by smtp106.biz.mail.gq1.yahoo.com with NNFMP; 01 May 2012 02:44:51 -0000
X-Yahoo-Newman-Id: 232252.49263.bm@smtp106.biz.mail.gq1.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: ieveE64VM1nUz6r8J3VYJKmXrB_bEToNpr3reEqtSXkTOd6
AbR4DTvAWQYQqmPLQfwTDfSon74EPNKH5mQ98mDSLKfoQm9KEC1P.Sbpqmb2
.EeQBTWI46Ldod4tXcMZy3TQD3Z8bhVCVSsfHtSqh69oFIOUZF8CvSR7IxRM
IiEf_OnUDtv4eHPx5LDyA5Ukq3njPysRwjgSBMznjTznBwGUDXbNy5GS1a5X
T1ZefZDb63iVqMRixarpl5WeAusixJdeyB3hxrZyumiW8xYAQzhQVlgZ8WzC
Vj.C5V2uzesr4aSoIswIdwVs1RZAzIH4NqGnXEGiB5c_WWE6gqsuQcyZYqFG
Kg4fEwOJumW6ShZbQTKz5fqrj7vNxwjzSzheva7Ts3nhnDEG24RqKjgDasOk
bnu1w6hebgYqesuQSA47oLumyq2nvpINOx6U7_YsXSZhpTRwXr.JSRcsfDeE
51Kx1e3qoB.Gaql6q2LZPGUj0FDl1KXkdh5TW._gRlehWwiFgEJb2QqaOG3Q
ppgNh1Tfu6ffY15YrayMpoEjifVE6oSxP13CcD1HdxCbS8WwIcLMKZ4h50OP
R6t8Rs2efUsXRppm9yEOQ9CoIF62ZpnTmxLjX9WSRg1goUIPrlrZNmqr9vpa
TIDEHbou6K24sEVafUeS8VNsf0eJWF.JvHLH5brAzhjdTyNkDU9SgvM05Vak
-
X-Yahoo-SMTP: Q4IYcmeswBAkGu36YmszKIbsJ.2_ai1P4BVgYQ--
Received: from IT004 (jerald.villaluz@119.92.63.26 with login)
by smtp106.biz.mail.gq1.yahoo.com with SMTP; 30 Apr 2012 19:44:49 -0700 PDT
Reply-To: <jerald.villaluz@intelassist.net>
From: "Jerald Villaluz" <jerald.villaluz@intelassist.net>
To: "juan" <juan@trafficlikes.com>
Thank you very much.- Edited by yajirobi Tuesday, May 1, 2012 4:48 AM
- Proposed as answer by yajirobi Wednesday, May 2, 2012 10:47 PM
- Unproposed as answer by David StromeMicrosoft employee Sunday, August 5, 2012 5:48 AM
Tuesday, May 1, 2012 4:47 AM -
You have to copy the LegacyExchangeDNs from the source forest to x500 addresses in the target forest.
How do i copied?
- Edited by AUSSUPPORT Thursday, May 17, 2012 11:46 AM
Thursday, May 17, 2012 11:45 AM -
Export groups SMTP addresses: http://izzy.org/scripts/Exchange/Migration/Export-GroupsSMTP.ps1
Thursday, May 17, 2012 11:48 AM -
Here is a simple “how to” method http://blogs.technet.com/b/sbs/archive/2009/05/21/cannot-reply-to-old-emails-or-modify-old-calendar-items-after-pst-mail-migration.aspx
Here is another article that may be more helpful as well http://www.simple-talk.com/sysadmin/exchange/exchange-e-mail-addresses-and-the-outlook-address-cache/
Also check out this MS forum issue that discusses it in detail as well http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/f99244d7-facf-4ad9-a83e-f6d3baa1ba8b/
Microsoft also makes a LegacyExchangeDN tool http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=19034 The Tool is not really needed it just makes some of the change processes a bit easier than using ADSIEdit and the above first article shows how to use this toolTroy Werelius
www.Lucid8.com
Search, Recover, & Extract Mailboxes, Folders, & Email Items from Offline EDB's and Live Exchange Servers with Lucid8's DigiScopeThursday, May 17, 2012 1:54 PM -
HI Jason,
I send the email pls look and reply to me soon.
AS
Sunday, May 20, 2012 11:26 AM -
I've replaced some of the script above.
This one script will export both SMTP, X.500, and LegacyExchangeDN addresses and group membership: http://izzy.org/scripts/Exchange/Migration/Export-Groups.vbs, it’s a VBScript but it’s much faster than the PS1 version and supports 2003 to 2010. Addresses are saved to one file and membership info to another.
Import-GroupsSMTP.ps1 was renamed to http://izzy.org/scripts/Exchange/Migration/Import-GroupAddresses.ps1
If this post helps to resolve your issue, please click the "Propose as Answer" If you find it helpful , mark it as helpful by clicking on "Vote as Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster. If you need an expert migration consultant to assist your organization feel free to contact me directly.
Jason Sherry | Blog | Hire Me | Twitter: @JasonSherry
Microsoft Infrastructure Architect, MCSE: M, MCTIP, Microsoft Exchange MVPThursday, August 29, 2013 5:18 PM