vb365-exo-recovery.ps1 - A delicious recipe for many occasions

  • 2 February 2023
  • 1 comment

Userlevel 7
Badge +8

Hello Community,

imagine you no longer have access to your most important Exchange Online mailboxes? Or you want to perform some checks, but you don't want to touch the productive mailboxes and your production Microsoft 365 tenant? What if a script and Veeam Backup for Microsoft 365 could help you?
Down below is a simple recipe.


  • Veeam Backup for Microsoft 365
  • An Exchange Online backup job protecting the mailboxes
  • A second Microsoft 365 tenant with already configured (target) mailboxes
  • A configured Azure AD application in the second Microsoft 365 tenant
  • A CSV file with the mailboxes to be copied

The script with all information can be downloaded here: Script

If the destination mailbox is empty, all objects are restored. If the objects already exist, only missing objects will be restored.

Please share what else could be achieved using this script. 

1 comment

Userlevel 7
Badge +20

Very interesting script. Will check this out and send any feedback.