Forum Discussion
badsector
Jan 18, 2023Brass Contributor
Move mailbox contents to another mailbox
I have two mailboxes in Exchange Online. I want to move all the contents from one mailbox to the other. I tried using Outlook to do this, but things happen way too slow and Outlook crashes frequently...
badsector
Jan 18, 2023Brass Contributor
Hi FcoManigrasso,
The mailbox, that is currently being used by the end user, has a user account in a local AD. The one that needs to be migrated, is only in AzureAD. Besides both mailboxes have emails in them. We do have hybrid configuration and can move mailboxes from Exchange Online to Exchange Server. But will that do any good? In Exchange Server I can use New-MailboxExportRequest to export the contents to three .pst files. But I can do the same with New-ComplianceSearch. Is the former better than the latter? I was hoping that there's an easier way to do such a trivial task. Tossing huge .pst-s is anything but convenient. I don't even have that much free space on my computer.
The mailbox, that is currently being used by the end user, has a user account in a local AD. The one that needs to be migrated, is only in AzureAD. Besides both mailboxes have emails in them. We do have hybrid configuration and can move mailboxes from Exchange Online to Exchange Server. But will that do any good? In Exchange Server I can use New-MailboxExportRequest to export the contents to three .pst files. But I can do the same with New-ComplianceSearch. Is the former better than the latter? I was hoping that there's an easier way to do such a trivial task. Tossing huge .pst-s is anything but convenient. I don't even have that much free space on my computer.
FcoManigrasso
Jan 18, 2023Iron Contributor
Hi badsector,
I was thinking about a New-MailboxRestoreRequest to the destination mailbox. ( I never did it that way but it should work ). So, softdelete the source mailbox and then restore it to the target one.
https://learn.microsoft.com/en-us/powershell/module/exchange/new-mailboxrestorerequest?view=exchange-ps
In your scenario, I would proceed with the Compliance search, ( it's a lot more effort but more secure from my point of view ). But again, it's up to you and there're the options 🙂
- badsectorJan 19, 2023Brass ContributorYes, New-MailboxRestoreRequest should work. I've used this before and it works. The problem is that I have to deliberately put a working mailbox in a "softdeleted" state. And I won't do this, unless I have exported the contents as .pst files as a backup. Exactly what I want to skip. It's unbelievable that there's no a simple solution with clicking buttons on a GUI for such an extremely trivial task.