Registering Azure Application to use OAuth in scripts No ratings yet.

Most of the scripts I’ve published to the Technet Code Gallery support OAuth, which means they can access mailboxes that have MFA enabled. But one requirement for OAuth is that an application is registered in Azure Active Directory, which is…

Read More

GetFolder sometimes returns an incorrect TotalCount when issued against a Public Folder mailbox hosted in Office 365 No ratings yet.

Symptoms When issuing an Exchange Web Services GetFolder request to a public folder mailbox hosted in Office 365 Exchange Online, the TotalCount returned in the response may incorrectly show a value of 0.  More Information Office 365 Exchange Online engineering…

Read More

Authenticating against Exchange Web Services using certificate based OAuth2 tokens 5/5 (1)

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…

Read More

PowerShell: Convert ConversationHistory from UserCreated to a Default Folder No ratings yet.

Time for a new article, this time talking about Conversation History Retention Policies. I have recently been working with some customers who reported that Retention Policies applied to Conversation History would not get applied. After a lengthily investigation it appeared…

Read More

PowerShell: Remove meetings that may cause problem with ActiveSync Devices No ratings yet.

It’s again time to talk about ActiveSync. It seems rather frequent that users, most often VIP, ends up missing a meeting because one or more did not synchronize (or rather the handset did not handle the data correctly). Mainly, this…

Read More

PowerShell: Apply Retention Policies or Auto-Archive Settings to Inbox sub-folders No ratings yet.

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…

Read More

PowerShell/EWS: Searching for and deleting duplicate mailbox folders No ratings yet.

We’ve had some cases recently where an issue with migration has caused the migrated mailbox to contain duplicate folders (e.g. there may be two Calendar folders).  I have written a script that can process mailboxes and automatically remove duplicate folders. …

Read More