How to Move an Archive Mailbox To Primary Mailbox Exchange Online Archiving


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.
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 userupn@domain.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 userupn@domain.com
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 userupn@domain.com -SourceIsArchive -TargetMailbox userupn@domain.com -TargetRootFolder "Restore"
To check the status of the migration run the cmdlet:
Get-MailboxRestoreRequest
As you can see below, after restore Is done I can see the content of the Archive under my Mailbox

Commenti

Post popolari in questo blog

Come e quando smantellare i server Exchange in una distribuzione ibrida

Manage Room Mailbox by using PowerShell

How to reset an Office 365 install to the initial activation/install state