Archive public folder emails older than 2 years

As we all know, retention policies aren’t supported for public folder mailboxes. In case you want to archive/move your old public folder emails to a public folder, specially created for archiving, this script might turn to be useful. First, it prompts you to create the public folder (archive) and then, it is recursively returning the public folder structure…

0

How to remove the MobilePhone from my Public Folder contacts?

In case you want to remove the “MobilePhone” property for all your public folder contacts, you can use this script. The same reasoning applies for other properties, with the mention that you need to load the corresponding extended property for them.   Prerequisites: -The script requires EWS Managed API 2.2, which can be downloaded here:…

0

Disable automatic forwarding in Office 365 and Exchange Server to prevent information leakage

This article is describing a brief guide on how to prevent internal users from auto-forwarding emails to external mailbox users and on how to disable automatic email forwarding in Office 365 and Exchange Server. Allowing users to use mail auto-forwarding brings the risk of information leakage. Additionally, users can select the option to not keep…

2

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…

4

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…

2