Friday, 13 September 2019

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


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\Calendar -User -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
    + PSComputerName        :


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\Calendar -User -AccessRights Editor


No comments:

Post a Comment