Using the shell to create mailbox folders on Exchange 2013 CU23 on-prem

davrion 46 Reputation points
2020-09-10T15:24:28.19+00:00

With Exchange 2010 going away, so goes Managed Folders that we used to automate mailbox folder creation in newly created mailboxes. Is there a way with PowerShell to create a top-level mailbox folder called "Managed Folders"? Our 3rd-party archiving product manages all retention based on a set of default folders that determine retention. Our folders are our tags, so we don't want to use Tags via Exchange whatsoever. All we need is to ensure we have "Managed Folders" at the same level in the mailbox as Inbox etc. and then create the subfolders underneath it so that all the folders exist where they are supposed to and are spelled correctly.

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,427 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Kael Yao-MSFT 37,586 Reputation points Microsoft Vendor
    2020-09-11T07:01:34.423+00:00

    @davrion
    Hi,
    To my knowledge, it can done by using the Exchange Web Services Managed API.
    There is an official document about it: Work with folders by using EWS in Exchange

    And here are some scripts from technet for your reference:
    Create a Custom root Folder in all the Mailboxes (Bulk) in Exchange 2010
    Create a Custom root Folder in all the Mailboxes (Bulk) in Exchange 2013
    Create folder(s) in user(s) mailboxes using EWS


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.