Wednesday , August 12 2020

Quick Tip – New-MailboxFolder – Exchange 2013

image_thumb1

 

New-MailboxFolder doesn’t have the capability of creating folders in users mailboxes.

When administrator is logged in . It has the capability of creating a folder only in Administrator mailbox

So an administrator cannot create Custom root folders in users mailboxes using this command. (RBAC has Implicit read scope set to Self – Which cannot be overridden)

EWS Managed API is the only alternative available to accomplish these tasks

PS —

To Create Folder in Administrator Mailbox

New-MailboxFolder -Parent administrator -Name Folder1

To Create Folder in Administrator Mailbox Below Inbox Folder

New-MailboxFolder -Parent :\Inbox -Name Folder1

image

Trying to Create a mailbox folder in user mailbox called “RR”

You will endup with an Error –saying it Doesn’t exist as it doesn’t have read permissions over the other objects

image

New-MailboxFolder -Parent RR -Name Folder1
The specified mailbox “RR” doesn’t exist.
+ CategoryInfo          : NotSpecified: (:) [New-MailboxFolder], ManagementObjectNotFoundException
+ FullyQualifiedErrorId : [Server=EXCH2013,RequestId=4ccd32aa-dd39-489d-918b-5b37c8ac8ee8,TimeStamp=7/21/2014 5:15
:21 AM] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] DC37182,Microsoft.Exchange.Management.StoreTask
s.NewMailboxFolder
+ PSComputerName        : exch2013.testcareexchange.biz

About Satheshwaran Manoharan

Satheshwaran Manoharan is an Microsoft Office Server and Services MVP , Publisher of Azure365pro.com. Specialized in Office365 / Microsoft Exchange / Virtualization , Sathesh is an Messaging Expert supporting/Designing/Deploying many medium size businesses to large enterprises when it comes to Corporate messaging and Virtualization Infrastructure

Check Also

OAuth and Microsoft Graph on Exchange on-premises with Hybrid Modern Authentication

Hybrid Modern Authentication (HMA) for Exchange On-Premises is being there for while which has a …

One comment

  1. Thanks for this , not sure why its limited in RBAC , but here’s the script to create folders for other users!

    http://blogs.msdn.com/b/emeamsgdev/archive/2013/10/21/powershell-create-folders-in-users-mailboxes.aspx

Leave a Reply

Your email address will not be published.