Maintain control of your Microsoft Office 365 data
Post Reply
Posts: 3
Liked: never
Joined: May 13, 2019 7:05 am
Full Name: Marco de Jong

Restore mailbox using powershell

Post by marcodejong »


We are planning to migrate users from an on-premise exchange environment to a new O365 tenant. During this migration the usernames will change, so for me it seams logical to script this migration using powershell. However I can't seem to find any documentation on how to restore an on-prem mailbox to a O365 maibox using powershell. I did found some links regarding the 'Start-VBORestoreSession' cmdlet but those links point me to a 404 page not found. There is documentation on a 'Start-VBOExchangeItemRestoreSession' but this cmdlet is not available in my "Veeam Backup for Microsoft Office 365 PowerShell".

I am using "Veeam.Backup365_3.0.0.422".

Is there any documentation available on how to migrate on-prem users to O365?


Veeam Software
Posts: 1394
Liked: 247 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva

Re: Restore mailbox using powershell

Post by Polina »

Hi Marco and welcome to the Forums

Here's how you can get the necessary PowerShell modules and the PowerShell reference for Veeam Explorer for Exchange.

However, please note that while Veeam Backup for Microsoft Office 365 can be helpful during migrations, it shouldn't be considered as a fully-featured migration tool.

Posts: 1
Liked: never
Joined: Aug 30, 2019 7:33 pm
Full Name: Akshay M

Re: Restore mailbox using powershell

Post by Akshay_M »

would like to know what exactly you're looking for? Do you want to restore the soft deleted mailbox from Onpremise server as when you migrate the mailbox from Onpremise to Online then Mailboxes on Exchange On-premise server goes into soft deleted state. You can restore the mailbox from the soft deleted state.


you're looking for script to migrate the mailbox from Exchange OnPremise to Online, there are three way to migrate the mailbox to O365

Depending on your requirement you choose either of one and according to that you do further configuration as each Migration is divided into Phases.

Hence If you could help us the exact requirement then we can suggest the best

Posts: 2
Liked: never
Joined: Sep 26, 2019 4:01 pm
Full Name: Gregory DeCecco

Re: Restore mailbox using powershell

Post by Turranx »

My situation is different from Marco's, but I believe the solutions might be similar. I have several on-premises Exchange servers that were being backed up by Veeam (successfully), but those servers are now gone. We need to restore thousands of mailboxes and would like to restore them into O365. This is a data recovery project, but if you squint at it sideways, it kind of looks like a migration from on-prem to online.

Akshay, what are the tree ways to migrate the mailbox to O365?

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests