ROPC (Resource Owner Password Credentials Grant) Flow No ratings yet.

Overview This blog post is intended for the Exchange Administrators that are using Powershell scripts to consume the Outlook REST API v1.0 endpoint //outlook.office365.com/api/v1.0 authenticating with user credentials. With the REST API v1.0 with support to Basic Authentication deprecation, a…

Read More

Acquiring OAuth2 access tokens for automating Exchange Management Shell cmdlets 5/5 (1)

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…

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: 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