Empty your online archives with EWS Managed API

In case you want to remove the content of your online archives, I have written this script that does it automatically for you.   Prerequisites: -Create a file with the user mailboxes that have an online archive enabled: “UserAccounts.txt” EmailAddress user1@domain.onmicrosoft.com user2@domain.onmicrosoft.com user3@domain.onmicrosoft.com -Create a new RBAC group or use an existing one from Exchange Admin Center –…

0

Add a Microsoft Teams bot in Channels

If you created an amazing 1:1 bot that you feel that you can share it with your colleagues or that can help them in daily activity, here is a way to add it Channels of different teams. This article assumes that you created a bot with the Azure Bot Service and you added the bot…

1

How to export and filter All Available MailboxDiagnosticLogs

Exchange offer us access to Mailbox Diagnostic Logs so in case of issues we know what happened with many components. The cmdlet is available both in Exchange and Exchange Online but some parameter’s values might differ. Here I’ll focus only on Exchange Online. You can find official documentation about Export-MailboxDiagnosticLogs on TechNet. I noticed that…

1

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…

0

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…

0

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…

0

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…

2

Recover public folder deleted items with EWS Managed API and Exchange Online PowerShell

As we all know, when you want to recover public folder deleted items, you use the Outlook client – Recover deleted items option. However, this option is visible only if the public folder is hosting email items (“IPF.Note”). For scenarios where you plan to recover calendar, note, journal, task or contact items, you can use either a client, like MFCMAPI (more…

0

Recover deleted items from a group mailbox with EWS Managed API 2.2

In case you’re interested in recovering the deleted items from a group mailbox…   Prerequisites: -Create a new RBAC group or use an existing one from Exchange Admin Center – Permissions – Admin Roles. Add the ‘ApplicationImpersonation’ role to the group and add as member the service account that will impersonate the mailbox that is…

2

Empty/clean up a group mailbox with EWS Managed API 2.2

There is not much to say here. Hope you’ll find it useful! Feel free to share your opinions. 🙂   Prerequisites: -Create a new RBAC group or use an existing one from Exchange Admin Center – Permissions – Admin Roles. Add the ‘ApplicationImpersonation’ role to the group and add as member the service account that…

0