Remove Deny Permissions from Exchange Mailbox using Powershell

5d05eb33135798a962e3199db1fa4a4c
5d05eb33135798a962e3199db1fa4a4c

Estimated reading time: 2 minutes

If you are an Exchange administrator and are having trouble in accessing other mailboxes although you have full access, then you may find that you need to remove the “Deny” permission on the mailbox you are trying to access. Sometimes this can be your own account or maybe a group like “Domain Admins”.

To check the existing permissions on the mailbox, you can use the script below within the Exchange Management Shell (EMS):

Get-MailboxPermission -identity [Mailbox-Alias]

Where:

  • [Mailbox-Alias] = Alias of the mailbox you want to check the permissions on

One you have identified the permissions you want to change, you can now carry out the change using the script below within EMS:

Remove-MailboxPermission -identity [Mailbox-Alias] -user [User to remove] -AccessRights FullAccess -Deny

Where:

  • [Mailbox-Alias] = Alias of the mailbox you change to change the permissions on
  • [User to remove] = The user (or user group) you want to remove the Deny permissions for

Example:

Remove-MailboxPermission -identity joe.bloggs -user “Domain Admins” -AccessRights FullAccess -Deny

Once you have done this you should now try and gain access to the mailbox again and this should now allow you to have the permissions you wanted.

COMMENTS

If you have any questions or comments on this guide, please feel free to leave us a message below using our comments system and we will get back to you as soon as we can.

Share this content:

Click to rate this post!
[Total: 2 Average: 5]
Avatar for Andrew Armstrong

About Andrew Armstrong

Founder of TechyGeeksHome and Head Editor for over 15 years! IT expert in multiple areas for over 26 years. Sharing experience and knowledge whenever possible! Making IT Happen.

View all posts by Andrew Armstrong

Leave a Reply

Your email address will not be published. Required fields are marked *