Converting Get-MailboxFolderStatistics ids for use with the Graph API

In this article, we discuss how to convert Exchange folderIds (as returned by the Get-MailboxFolderStatistics cmdlet) to the RestId identifiers employed by the Graph API. Some additional use cases of the various Exchange identifiers are addressed as well. The accompanying script can be used to generate a report of all folders within a given mailbox, even those not accessible by the end user, along with their corresponding Ids. …

Continue readingConverting Get-MailboxFolderStatistics ids for use with the Graph API

Fetch message trace data via the Graph API

A quick look at the recently introduced /admin/exchange/tracing/messageTraces Graph API endpoint to fetch Exchange Online message trace details. It turns out this is just a wrapper for the Get-MessageTraceV2/Get-MessageTraceDetailV2 cmdlets, with all the benefits and downsides this entails to. Read the article for more details. …

Continue readingFetch message trace data via the Graph API

Still no good solution for cleaning deleted items via the Graph API

2026 is the year in which Microsoft plans to pull the plug on EWS, and before this happens, I’m taking some time to go over my code samples in order to update them to the Graph API or alternatives, as needed. One such code sample I’ve used over the years …

Continue readingStill no good solution for cleaning deleted items via the Graph API