You don’t need to share an entire mailbox to grant users access to the contents. With Set-MailboxFolderPermission it’s possible to configure permissions on individual mailbox folders.
This post will show how to modify existing permissions set on an individual folder in a mailbox. If you’re setting up new permissions refer to the Add-MailboxFolderPermission PowerShell command.
In the last section we’ll have a look at how to modify mailbox folder access using OWA or the Outlook client.
Modifying Mailbox Folder Permissions Using PowerShell
As Set-MailboxFolderPermission is only for modifying existing permissions, let’s start by looking at mailbox folder permissions set on the example IoEclipse folder of the mailbox of Ole Roemer:
(the following sample scripts assume you’re connected with PowerShell to Exchange Online)
The user Hans Schjellerup is configured with the Owner role on this folder (look here to get an overview of mailbox roles and permissions).
Let’s say we want to reconfigure his access to Reviewer. This is done using the following PowerShell cmdlet:
- Set-MailboxFolderPermission -Identity email@example.com:\IoEclipse -User firstname.lastname@example.org -AccessRights Reviewer
To verify that the permission was changed successfully on the mailbox folder, use the Get-MailboxFolderPermission PowerShell cmdlet one more time:
If you accidentally try to use Set-MailboxFolderPermission to modify non-existing permissions you’ll be met with an error message similar to this:
To remove the mailbox folder permissions again use the Remove-MailboxFolderPermission PowerShell command:
- Remove-MailboxFolderPermission -Identity email@example.com:\IoEclipse -User firstname.lastname@example.org
Modifying Mailbox Folder Permissions Using Outlook (Client & Web)
The procedure to configure mailbox folder permissions using Outlook or OWA is the same no matter if you’re adding new permissions or modifying existing permissions.
You open up Outlook or OWA, right click on the folder, select permissions and then you can edit existing permissions or add new ones:
Hopefully you’re all set to configure mailbox folder permissions using PowerShell, Outlook or OWA?
When using PowerShell make sure to use Add-MailboxFolderPermission to add new permissions and use Set-MailboxFolderPermission to change existing permissions.
If you want more inspiration on PowerShell scripting or Office 365 Management please have a look at our blog.
If you want to save lots of hours on your weekly Office 365 user, mailbox and license administration AND get rid of your on-premise Exchange Server, have a look at Easy365Manager. It’s available as a fully functional 30 day trial.