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

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 (2)

Overview If you’re seeking to automate Exchange Management Shell cmdlets in a .Net Framework application, you can use the new Exchange Online PowerShell V2 module The other option is to use a workaround which consists of using the well-known Exchange…

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