Convert mailbox folder identifiers non-interactively

In a previous article, we discussed how to convert Exchange folderIds (as returned by the Get-MailboxFolderStatistics cmdlet) to the RestId identifiers employed by the Graph API. Here, we present a version of the script that can run non-interactively and has no PowerShell module dependencies. In addition, we present a purely Graph-based version to generate mailbox folder identifiers without any…