Unable to edit MailBox folder & Rules of other users with PowerShell

Hello,


I'm trying to modify the rules of my users inbox folders and rules but I'm not able to do that even though I'm assigned the rights which were supposed to be enough. The account I'm running this command is a domain admin and pretty much has all the rights for the exchange server.

Add-MailboxFolderPermission -Identity satan:\Inbox -User god -AccessRights Owner
Add-MailboxPermission -Identity satan -User god -AccessRights FullAccess -InheritanceType All
New-MailboxFolder -Parent Satan:\Inbox -Name Test
New-Inboxrule -name "Test" -mailbox satan -sentTo "Angels" -MoveToFolder Test  -force

And this is what I get:

The specified mailbox "Satan" doesn't exist.
    + CategoryInfo          : NotSpecified: (:) [New-MailboxFolder], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : [Server=XMAIL,RequestId=f20bwe154-31f1-4f2e-ad67-5d20eaf609197,TimeStamp=2015-04-21 2:39:12
    PM] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] F132355E,Microsoft.Exchange.Management.StoreTasks.
  NewMailboxFolder


  • Edited by mbaybarsk 16 hours 12 minutes ago
April 21st, 2015 11:16am

mbaybarsk,

New-MailboxFolder doesnt 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

For more info see this link: 

http://careexchange.in/quick-tip-new-mailboxfolder-exchange-2013/


Free Windows Admin Tool Kit Click here and download it now
April 21st, 2015 11:23am

Hi,


Thanks for the answer, I have seen many posts online that this (editing other accounts mailboxes) were possible. 

Even if by default, I can't create this, I believe there should be a workaround. I can't accept that :p 


thanks! 

April 21st, 2015 12:20pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics