I am using Powershell to assign some Mailbox Folder Permissions for every user in our organization, I am 100% sure that I use the correct name of the folder, but PowerShell cannot find the folder. However, when I execute MailboxFolderStatistics, I can see the folder.
First, I tried to assign the permissions:
Add-MailboxFolderPermission -Identity [email protected]:\Calender -User "Default" -AccessRights LimitedDetails
That resulted in the following error:
The operation couldn't be performed because '[email protected]:\Calender' couldn't be found.
Because of the error I wanted to list all folders for that mailbox with the command
Get-MailboxFolderStatistics -Identity [email protected]:\Calender | select-object Identity, ItemsInFolder, FolderSize
The result:
Identity ItemsInFolder FolderSize
-------- ------------- ----------
...
[email protected]\Calender 3 17.02 KB (17,432 bytes)
...
This confirms for me that the folder does exist, but I still can't assign permissions to it.
Can somebody help me with this?