Background Information I’ve previously written a blog post demonstrating how to automate the sending of welcome messages to new users in an on-premises environment. A similar technique can be used in a hybrid environment (when an organisation is using a…
An O365 API Authentication Documentation Guide – The first step in building your Microsoft Graph application
When I first came across the concept of using O365 REST-based APIs such as the Graph API and the Outlook REST API, I was overwhelmed with the immense number of possibilities that could be devised from such integration. However, what…
Authenticating against Exchange Web Services using certificate based OAuth2 tokens
Overview This post contains step by step information on configuring your environment and authenticating against Exchange Web Services using certificate based OAuth2 tokens. The information in this blog post is only valid for connecting to Exchange Online mailboxes. Requirements In…
Acquiring OAuth2 access tokens for automating Exchange Management Shell cmdlets
Overview If you’re seeking to automate Exchange Management Shell cmdlets in a .Net Framework application, you must use a workaround which consists of using the well-known Exchange Management Shell app ID. Application ID: a0c73c16-a7e3-4564-9a95-2bdf47383716 Redirect URL: urn:ietf:wg:oauth:2.0:oob You must use…
Transport Agent: Discard Mailbox-Full type of NDR
Hello folks, me again. It was some time I didn’t have the opportunity to blog about Transport Agents so I thought to write something about this. This week I have been working with a customer desiring to block specific types…
Transport Agent: Rewriting Sender or Recipient Domain
Lately I’ve been working on few Transport Agents which I feel maybe handy to share. While the logic adopted is very simple, the sample showcase how to inspect and modify entries in the P1 and P2 headers. The requirement…
PowerShell: Apply Retention Policies or Auto-Archive Settings to Inbox sub-folders
This week I’ve been spending some time in reviewing how Exchange Retention Policies and Outlook Auto-Archive setting are stored in a user mailbox. If you’re wondering whether to start using Outlook Auto-Archive or the Exchange Retention policy I would like to…
Transport Agent: Handle email address tagging
With email being the preferred way to receive notifications, it may happen to all of us to receive emails that are not extremely relevant or which do not require immediate attention. This, as example, can be consists of Forums…
PowerShell: Batching operations to avoid throttling.
More and more often we are receiving escalations as well as general questions on how to batch a given command, in order to avoid throttling or long running sessions that terminates with disconnections. While this may be rather straight-forward to…
Programmatically manage OWA 2013 folder conversation view settings
As a few people have requested this, I’ve written a .Net sample for managing folder Conversation View settings for OWA 2013. In Exchange 2013, the Conversation View settings are stored the FolderViewState element of the OWA.ViewStateConfiguration configuration item stored in…