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

MSAL Basics – A Guide to Azure AD’s Authentication Library 5/5 (3)

Background If you have ever created applications that incorporate the Graph API or any other modern authentication-requiring Microsoft API, then you would have most probably worked with ADAL (The Azure Active Directory Authentication Library) to get tokens for API access.…

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

MAPI: Automatically reset search folders in user’s mailbox (see KB 3056652) No ratings yet.

There is a known issue, described in KB 3056652, whereby search folders may be inactive after a mailbox move from Exchange 2013 to Exchange 2010 (this can also affect moves from Office 365 to Exchange 2010).  The KB describes how…

Read More