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