Merge a source and a target mailbox with EWS Managed API, in Exchange Online

Enjoy it!   Prerequisites: Grant full access rights on the source and target mailboxes to a third Exchange Online mailbox for whose credentials you’ll be prompted.   DISCLAIMER: This application is a sample application. The sample is provided “as is” without warranty of any kind. Microsoft further disclaims all implied warranties including without limitation any implied warranties…


Export a mailbox to a target mailbox folder with EWS Managed API, in Exchange Online

In case you have used Search-Mailbox to export your mailbox data into a target mailbox folder and you encountered issues, this solution may turn to be a good alternative.   Prerequisistes -The script requires EWS Managed API 2.2, which can be downloaded here: https://www.microsoft.com/en-gb/download/details.aspx?id=42951 -You will connect to the service with an Exchange Online mailbox…

2

Move folder content from a source mailbox to a target mailbox, in Exchange Online (EWS Managed API 2.2)

As a result of many customer inquiries, I have decided to write the script below that moves mailbox data from a source mailbox to a target mailbox. Use this script when the source and the target mailboxes are created in mirror, with the same folders/subfolders on each side. In case there are folders existing only on the…


How to generate a message trace with more than 5000 lines in PowerShell

Applies to: Exchange Online, Exchange Online Protection.   This scenario is addressed to companies that generate high mail flows or use multiple applications to relay emails. Many admins are at some point facing a situation where analyzing a complex transport scenario is needed, this being translated into generating lengthy message traces.   The purpose of…

6