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

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 have confirmed this as a known architecture limitation that we are not planning on addressing…

0

Acquiring OAuth2 access tokens for automating Exchange Management Shell cmdlets

Overview At present, there are no configurable permissions available for new Application Registrations in Azure Active Directory allowing to acquire OAuth2 tokens for automating Exchange Management Shell cmdlets. This work is currently being investigated by engineering and we hope to be in a position to provide such functionality in the future. That said, there is…

0

Troubleshooting EWS Applications using SOAPe

SOAPe is a tool that was developed primarily for testing and troubleshooting EWS, though can also support other web services.  It has a built-in EWS trace analyser that can assist in identifying issues and spotting errors. SOAPe is available from Github, and full source is published: https://github.com/David-Barrett-MS/SOAPe Analysing EWS Traces The EWS Managed API (also available…


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 of Non-Delivery Reports. In the example, the idea is to block NDR’s such as the…

0

PowerShell: Convert ConversationHistory from UserCreated to a Default Folder

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 the issue was due to the “Conversation History” folder was not of type “CommunicatorHistory” but…

0

PowerShell: Batch moving/merging mailboxes

The Merge-MailboxFolder script is very powerful in that it can move data between mailboxes (even entire mailboxes, if desired).  It can also be used to process lots of mailboxes at once.  This blog post is going to run through in detail the procedure to move all items from the archive mailbox into the main mailbox…


PowerShell: Remove meetings that may cause problem with ActiveSync Devices

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 comes down to few common user error: The meeting is a recurring meeting with no…


PowerShell: Remove outdated ActiveSync Devices

Howdy Exchange Administrators! How often have you had to undertake the task of cleaning stale device from user mailboxes and how often did you need to go and manually delete the AirSync-* folders via either MFCMAPI or EWSEditor? Probably many. As some administrators (legitimately) like to keep the mailboxes tidy or they might have a business/process…


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 was for 2 separate agents one rewriting the sender domain and one rewriting the recipient…

2