Jan 17 2023
11:51 PM
- last edited on
Feb 01 2023
10:22 AM
by
TechCommunityAP
Jan 17 2023
11:51 PM
- last edited on
Feb 01 2023
10:22 AM
by
TechCommunityAP
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. Both mailboxes have archives. The total amount that has to be moved is around 90GB. I tried using Search-Mailbox just on couple of items as a test and it worked. But I got a message that this cmdlet is retired. As well as New-MailboxSearch. So what is the Microsoft's way to do this simple task?
Jan 18 2023 04:58 AM
Hi @badsector ,
There're many ways to do that, ( one of them is what you already tried ). But let me ask a question...
Why move the content to another mailbox instead to rename/modify the existing one?
Other point... You say that both mailboxes are online... But is your environemnt only EXO or do you have a hybrid one? ( In I hybrid one I'll have more ideas ).
For only EXO, I would say that the better solution would be to create a New-ComplianceSearch, export the PST and import it to the new mailbox, ( you'll need AzCopy ).
New-ComplianceSearch (ExchangePowerShell) | Microsoft Learn
Use network upload to import PST files - Microsoft Purview (compliance) | Microsoft Learn
Wish you a nice day :)
Jan 18 2023 06:32 AM
Jan 18 2023 07:22 AM
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.
New-MailboxRestoreRequest (ExchangePowerShell) | Microsoft Learn
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 :)
Jan 19 2023 02:16 PM