There is no existing permission entry found for user: running Set-MailboxFolderPermissions
You receive the following error when trying to run the Set-MailboxFolderPermissions in Exchange 2016 EMS.
There is no existing permission entry found for user: Su-Yu-Chan Rack – Nerd.
+ CategoryInfo : NotSpecified: (:) [Set-MailboxFolderPermission], UserNotFoundInPermissionEntryException
+ FullyQualifiedErrorId : [Server=THATLAZYEX-02,RequestId=365c6506-0b10-4de7-bd31-eeeec601ac4a,TimeStamp=7/26/2017
5:08:42 AM] [FailureCategory=Cmdlet-UserNotFoundInPermissionEntryException] 34D9545E,Microsoft.Exchange.Managemen
t.StoreTasks.SetMailboxFolderPermission
+ PSComputerName : thatlazyex-02.thatlazyadmin.local
Since Exchange 2013 there has been a changed in PowerShell cmdlest when it comes to Set-MailboxfolderPermissions.
Use the Set-MailboxFolderPermission cmdlet to modify folder-level permissions for users in mailboxes. The cmdlet differs from the Add-MailboxFolderPermission cmdlet in that it modifies existing permission entries.
So that means we need to use the Add-MailboxPermission cmdlet to add permissions to a mailbox.
Example:
This example grants the user Mark Steele Full Access permission to Jeroen Cool’s mailbox and disables the auto-mapping feature.
1 |
Add-MailboxPermission -Identity JeroenC -User 'Mark Steele' -AccessRights FullAccess -InheritanceType All -AutoMapping $false |
To resolve the error which I have received I simply had to change to “Set” to “Add”
1 |
Add-MailboxFolderPermission "Yun-Sun.rack:\calendar" -User "Su-Yu-Chan.Rack" -AccessRights "editor" |
#ThatLazyAdmin
Thanks dude 🙂 I just had the same problem and you saved me 🙂
Was hitting this wall pretty hard. Thanks a ton.
Thank you very much! That´s what I was looking for! So: Add instead of Set! 🙂