Set-MailboxFolderPermission : There is no existing permission entry found for user

Problem

You might have received the below error message when you try to add permission for a user in another user’s mailbox folder using the Set-MailboxFolderPermission cmdlet.

Set-MailboxFolderPermission -Identity [email protected]:\Calendar -User [email protected] -AccessRights Editor -SharingPermissionFlags Delegate
There is no existing permission entry found for the user: Kevin Morgan.
    + CategoryInfo          : NotSpecified: (:) [Set-MailboxFolderPermission], UserNotFoundInPermissionEntryException
    + FullyQualifiedErrorId : [Server=XXXXXXXXXXXXX,RequestId=XXXXXXXX-181a-44f7-a613-53fdedb3d83c,TimeStamp=13-09-201
   9 06:31:53] [FailureCategory=Cmdlet-UserNotFoundInPermissionEntryException] F5424EF5,Microsoft.Exchange.Management
  .StoreTasks.SetMailboxFolderPermission
    + PSComputerName        : outlook.office365.com

Fix/Solution

You are receiving this error since you are trying to edit permission object that does not already exist. The mailbox folder permissions are treated as individual permission objects for every user, the Set-MailboxFolderPermission cmdlet will be used to update the existing permission object and you have to use Add-MailboxFolderPermission cmdlet to add new permission entry for a user.

Add-MailboxFolderPermission -Identity [email protected]:\Calendar -User [email protected] -AccessRights Editor
Advertisement

Leave a Comment