Jaime Campos
asked on
How to transfer email from one account to another within Exchange 2007?
Hello,
I've got a user that has two email account within exchange and not sure how this happened. Now this user has been getting email sent to one account she doesn't use and had no idea she had. What I need to do is transfer her email from one account to the other and also maybe change her existing email address as well. Can an Expert provide me the instructions on how to accomplish this?
Thanks,
Jaime Campos
I've got a user that has two email account within exchange and not sure how this happened. Now this user has been getting email sent to one account she doesn't use and had no idea she had. What I need to do is transfer her email from one account to the other and also maybe change her existing email address as well. Can an Expert provide me the instructions on how to accomplish this?
Thanks,
Jaime Campos
ASKER
am I putting email address that I want to export on User2 and the target will be new email address (User1)? Will the -deletecontent delete all information in user 2 (unwanted email) mailbox? If I don't want to delete anything yet can I leave out that switch?
you can use either the alias or email address
yes, the deletecontent will remove from the source mailbox and can be excluded
yes, the deletecontent will remove from the source mailbox and can be excluded
ASKER
This is what I typed into Exchange Management Shell
export-mailbox email@domain.com -targetmailbox newemail@domain.com
this is what I got back.
cmdlet Export-Mailbox at command pipeline position 1
Supply values for the following parameters:
TargetFolder:
Any idea why?
export-mailbox email@domain.com -targetmailbox newemail@domain.com
this is what I got back.
cmdlet Export-Mailbox at command pipeline position 1
Supply values for the following parameters:
TargetFolder:
Any idea why?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Got an error on status message.
TargetFolder: export-mailbox lcabrera2@rapadocs.com\-ta rgetmailbo x lcabrera@rapa
docs.com
Confirm
Are you sure you want to perform this action?
Exporting mailbox content from the mailbox 'Dr. Lisa Cabrera' into the mailbox
for 'Dr. Lisa Cabrera (lcabrera@rapadocs.com)' inside folder '\export-mailbox
lcabrera2@rapadocs.com\-ta rgetmailbo x lcabrera@rapadocs.com\Reco vered Data -
Dr. Lisa Cabrera - 9/13/2010 8:39:50 AM'. This operation may take a long time
to complete.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
(default is "Y"):A
Export-Mailbox : Error was found for Dr. Lisa Cabrera (lcabrera2@rapadocs.com)
because: Error occurred in the step: Creating target folder in the target mailb
ox. An unknown error has occurred., error code: -2147221233
At line:1 char:15
+ export-mailbox <<<< lcabrera2@rapadocs.com -targetmailbox lcabrera@rapadocs.
com
+ CategoryInfo : InvalidOperation: (0:Int32) [Export-Mailbox], Re
cipientTaskException
+ FullyQualifiedErrorId : 458277B7,Microsoft.Exchang e.Manageme nt.Recipie nt
Tasks.ExportMailbox
Identity : RAPA.local/South East/Physicians/Dr. Lisa Ca
brera
DistinguishedName : CN=Dr. Lisa Cabrera,OU=Physicians,OU=S outh E
ast,DC=RAPA,DC=local
DisplayName : Dr. Lisa Cabrera
Alias : lcabrera
LegacyExchangeDN : /o=RAPA Email/ou=Exchange Administrative Gro
up (FYDIBOHF23SPDLT)/cn=Recip ients/cn=l cabre
ra1
PrimarySmtpAddress : lcabrera2@rapadocs.com
SourceServer : Exchange07.RAPA.local
SourceDatabase : EXCHANGE07\First Storage Group\Mailbox Datab
ase
SourceGlobalCatalog : FILESERVER
SourceDomainController :
TargetGlobalCatalog : FILESERVER
TargetDomainController :
TargetMailbox : RAPA.local/Users/Lisa Cabrera
TargetServer : Exchange07.RAPA.local
TargetDatabase : EXCHANGE07\First Storage Group\Mailbox Datab
ase
MailboxSize : 17215KB
IsResourceMailbox : False
SIDUsedInMatch :
SMTPProxies :
SourceManager :
SourceDirectReports :
SourcePublicDelegates :
SourcePublicDelegatesBL :
SourceAltRecipient :
SourceAltRecipientBL :
SourceDeliverAndRedirect :
MatchedTargetNTAccountDN :
IsMatchedNTAccountMailboxE nabled :
MatchedContactsDNList :
TargetNTAccountDNToCreate :
TargetManager :
TargetDirectReports :
TargetPublicDelegates :
TargetPublicDelegatesBL :
TargetAltRecipient :
TargetAltRecipientBL :
TargetDeliverAndRedirect :
Options : Default
SourceForestCredential :
TargetForestCredential :
TargetFolder : \export-mailbox lcabrera2@rapadocs.com\-ta rg
etmailbox lcabrera@rapadocs.com\Reco vered Da
ta - Dr. Lisa Cabrera - 9/13/2010 8:39:50 AM
PSTFilePath :
RsgMailboxGuid :
RsgMailboxLegacyExchangeDN :
RsgMailboxDisplayName :
RsgDatabaseGuid :
StandardMessagesDeleted : 0
AssociatedMessagesDeleted : 0
DumpsterMessagesDeleted : 0
MoveType : Export
MoveStage : Move
StartTime : 9/13/2010 8:40:21 AM
EndTime : 9/13/2010 8:40:21 AM
StatusCode : -2147221233
StatusMessage : Error occurred in the step: Creating target
folder in the target mailbox. An unknown err
or has occurred.
ReportFile : C:\Program Files\Microsoft\Exchange Server\L
ogging\MigrationLogs\expor t-Mailbox2 0100913-
083948-8558219.xml
TargetFolder: export-mailbox lcabrera2@rapadocs.com\-ta
docs.com
Confirm
Are you sure you want to perform this action?
Exporting mailbox content from the mailbox 'Dr. Lisa Cabrera' into the mailbox
for 'Dr. Lisa Cabrera (lcabrera@rapadocs.com)' inside folder '\export-mailbox
lcabrera2@rapadocs.com\-ta
Dr. Lisa Cabrera - 9/13/2010 8:39:50 AM'. This operation may take a long time
to complete.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
(default is "Y"):A
Export-Mailbox : Error was found for Dr. Lisa Cabrera (lcabrera2@rapadocs.com)
because: Error occurred in the step: Creating target folder in the target mailb
ox. An unknown error has occurred., error code: -2147221233
At line:1 char:15
+ export-mailbox <<<< lcabrera2@rapadocs.com -targetmailbox lcabrera@rapadocs.
com
+ CategoryInfo : InvalidOperation: (0:Int32) [Export-Mailbox], Re
cipientTaskException
+ FullyQualifiedErrorId : 458277B7,Microsoft.Exchang
Tasks.ExportMailbox
Identity : RAPA.local/South East/Physicians/Dr. Lisa Ca
brera
DistinguishedName : CN=Dr. Lisa Cabrera,OU=Physicians,OU=S
ast,DC=RAPA,DC=local
DisplayName : Dr. Lisa Cabrera
Alias : lcabrera
LegacyExchangeDN : /o=RAPA Email/ou=Exchange Administrative Gro
up (FYDIBOHF23SPDLT)/cn=Recip
ra1
PrimarySmtpAddress : lcabrera2@rapadocs.com
SourceServer : Exchange07.RAPA.local
SourceDatabase : EXCHANGE07\First Storage Group\Mailbox Datab
ase
SourceGlobalCatalog : FILESERVER
SourceDomainController :
TargetGlobalCatalog : FILESERVER
TargetDomainController :
TargetMailbox : RAPA.local/Users/Lisa Cabrera
TargetServer : Exchange07.RAPA.local
TargetDatabase : EXCHANGE07\First Storage Group\Mailbox Datab
ase
MailboxSize : 17215KB
IsResourceMailbox : False
SIDUsedInMatch :
SMTPProxies :
SourceManager :
SourceDirectReports :
SourcePublicDelegates :
SourcePublicDelegatesBL :
SourceAltRecipient :
SourceAltRecipientBL :
SourceDeliverAndRedirect :
MatchedTargetNTAccountDN :
IsMatchedNTAccountMailboxE
MatchedContactsDNList :
TargetNTAccountDNToCreate :
TargetManager :
TargetDirectReports :
TargetPublicDelegates :
TargetPublicDelegatesBL :
TargetAltRecipient :
TargetAltRecipientBL :
TargetDeliverAndRedirect :
Options : Default
SourceForestCredential :
TargetForestCredential :
TargetFolder : \export-mailbox lcabrera2@rapadocs.com\-ta
etmailbox lcabrera@rapadocs.com\Reco
ta - Dr. Lisa Cabrera - 9/13/2010 8:39:50 AM
PSTFilePath :
RsgMailboxGuid :
RsgMailboxLegacyExchangeDN
RsgMailboxDisplayName :
RsgDatabaseGuid :
StandardMessagesDeleted : 0
AssociatedMessagesDeleted : 0
DumpsterMessagesDeleted : 0
MoveType : Export
MoveStage : Move
StartTime : 9/13/2010 8:40:21 AM
EndTime : 9/13/2010 8:40:21 AM
StatusCode : -2147221233
StatusMessage : Error occurred in the step: Creating target
folder in the target mailbox. An unknown err
or has occurred.
ReportFile : C:\Program Files\Microsoft\Exchange Server\L
ogging\MigrationLogs\expor
083948-8558219.xml
export-mailbox email@domain.com -targetmailbox newemail@domain.com -targetfolder \
ASKER
II'll try it.
I disabled the users old email account cause i wasn't able to sync her iPhone to new email account. It was partnered with old account. I removed partner relationship with old account and it still tried to setup old account. Now maybe I messed up, but I disabled old account and now I do not see old account within management console. I wanted to leave old account in place so i can forward all emails to new account. Now I'm stuck and not sure what to do. Now the iphone says connection to server failed. It's like it hasn't recognize the new email address on server and doesn't want to connect.
I disabled the users old email account cause i wasn't able to sync her iPhone to new email account. It was partnered with old account. I removed partner relationship with old account and it still tried to setup old account. Now maybe I messed up, but I disabled old account and now I do not see old account within management console. I wanted to leave old account in place so i can forward all emails to new account. Now I'm stuck and not sure what to do. Now the iphone says connection to server failed. It's like it hasn't recognize the new email address on server and doesn't want to connect.
when you disabled the account did you disable thru ad users and computers or thur exchange mgmt console?
the mgmt console removes the mailbox and you'll need to go to disconnected mialbox under recipient configuration to reconnect the mailbox
the mgmt console removes the mailbox and you'll need to go to disconnected mialbox under recipient configuration to reconnect the mailbox
ASKER
Exchange mgmt console. I got it. Why doesnt the iphone connect to new email address, is there some sort of refreash setting I need to perform?
once you remove the account from the phone you should be able to create a new mail account with the current smtp address for the user
get-mailbox user | fl primary*
get-mailbox user | fl primary*
ASKER
I had to hard reset the device. It works now.Thanks so much for your help.
export-mailbox user2 -targetmailbox user1 -deletecontent