SOLVED

Automatically create Outlook folders for new user

New Contributor

We have 3 folders that every new hire needs in Outlook, and with the number of new hires we are starting to add every week, the task is becoming a little tedious. Is there a way to set up a script or some other automation to add the folders automatically?

 

The only thing I found was this, but it explicitly indicates it can't be used for other user's folders.

 

Any help is appreciated!

3 Replies
best response confirmed by DefinitelyNotThatGuy (New Contributor)
Solution
You cannot do this via "pure" PowerShell, you need to use a script based on the EWS or Graph API. There's a sample script here: https://github.com/gscales/Powershell-Scripts/blob/master/CreateFolder.ps1
What if we reframed the question: Is it possible to change the default folders that are created for a new user?
Change them how? Only thing you can do via "pure" PowerShell is rename them, by changing the mailbox regional settings config.