In this article, Which Is also article number 1000 on this blog I’ll show you how I move my Exchange Online archive mailbox to my primary mailbox on Exchange Online.
This method can also be used when a user leaves the company and some else needs to access his mailbox.
Using this method, you can free up licenses and still access the data or give it to the next user that will do the job.
I’ll also show you how to do this in a cloud environment and In a Hybrid environment.
To get started, you will need to use Exchange Online PowerShell so go ahead and log in using PowerShell.
Important: To get this done, we need to disable (soft delete) the archive mailbox and enable it again
Without doing so you won’t be able to move the archive mailbox.
Get Archived Mailboxes
Once connected, check the details and size of the archive mailbox using the two lines below:
Get-Mailbox -Archive UserID
Get-MailboxStatistics -Archive UserID
If you are In a hybrid move, disable the archive mailbox using the cmdlet below from your local Exchange Server.
Disable-RemoteMailbox -Archive USERID
If you are not In Hybrid mode run this from Exchange Online PowerShell
Disable-Mailbox –Archive –Identity email@example.com
If you are In hybrid Run Azure Active Directory Sync or wait for the sync to happen.
If you are not In Hybrid mode, Enable the Archive mailbox again using the GUI or the cmdlet below from Exchange Online PowerShell
Enable-Mailbox –Archive –Identity firstname.lastname@example.org
In Hybrid, once changed has synced, Enable archive mailbox again using the local Exchange server using the GUI or Powershell
Wait for AD Sync again.
Once the archive mailbox has been enabled, run the cmdlet below to restore it to a Primary mailbox.
New-MailboxRestoreRequest -Name UserID -SourceMailbox email@example.com -SourceIsArchive -TargetMailbox firstname.lastname@example.org -TargetRootFolder "Restore"
To check the status of the migration run the cmdlet:
As you can see below, after restore Is done I can see the content of the Archive under my Mailbox