How to add set Calendar access rights in Exchange

 If you want to view or set Calendar access rights in Microsoft Exchange you can do this very easy with PowerShell.

With Exchange Server management shell calendar permissions can be managed using the *-MailboxFolderPermission cmdlets.

These cmdlets can be used to manage permissions on any mailbox folder. However, this post will focus on calendar permissions.

  • Get-MailboxFolderPermission Use the Get-MailboxFolderPermission cmdlet to view folder-level permissions in mailboxes.
  • Add-MailboxFolderPermission Use the Add-MailboxFolderPermission cmdlet to add folder-level permissions for users in mailboxes.
  • Set-MailboxFolderPermission 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.
  • Remove-MailboxFolderPermission Use the Remove-MailboxFolderPermission cmdlet to remove folder-level permissions for users in mailboxes.

To view the access rights on a users calendar run the following command.
Get-MailboxFolderPermission –Identity user@domain.com:\Calendar

To Add access rights for a specific user on another users Calendar run the following command.
Add-MailboxFolderPermission –Identity user@domain.com:\Calendar –User “target user alias” –AccessRights Owner

To set access rights for a specific user on another users Calendar run the following command.
Set-MailboxFolderPermission –Identity user@domain.com:\Calendar –User “target user alias” –AccessRights Owner

To remove access rights for a specific user on another users Calendar run the following command.
Remove-MailboxFolderPermission –Identity user@domain.com:\Calendar –User “target user alias” –AccessRights Owner

 

  • ReadItems   The user has the right to read items within the specified folder.
  • CreateItems   The user has the right to create items within the specified folder.
  • EditOwnedItems   The user has the right to edit the items that the user owns in the specified folder.
  • DeleteOwnedItems   The user has the right to delete items that the user owns in the specified folder.
  • EditAllItems   The user has the right to edit all items in the specified folder.
  • DeleteAllItems   The user has the right to delete all items in the specified folder.
  • CreateSubfolders   The user has the right to create subfolders in the specified folder.
  • FolderOwner   The user is the owner of the specified folder. The user has the right to view and move the folder and create subfolders. The user can’t read items, edit items, delete items, or create items.
  • FolderContact   The user is the contact for the specified public folder.
  • FolderVisible   The user can view the specified folder, but can’t read or edit items within the specified public folder.

The AccessRights parameter also specifies the permissions for the user with the following roles, which are a combination of the rights listed previously:

  • None   FolderVisible
  • Owner   CreateItems, ReadItems, CreateSubfolders, FolderOwner, FolderContact, FolderVisible, EditOwnedItems, EditAllItems, DeleteOwnedItems, DeleteAllItems
  • PublishingEditor   CreateItems, ReadItems, CreateSubfolders, FolderVisible, EditOwnedItems, EditAllItems, DeleteOwnedItems, DeleteAllItems
  • Editor   CreateItems, ReadItems, FolderVisible, EditOwnedItems, EditAllItems, DeleteOwnedItems, DeleteAllItems
  • PublishingAuthor   CreateItems, ReadItems, CreateSubfolders, FolderVisible, EditOwnedItems, DeleteOwnedItems
  • Author   CreateItems, ReadItems, FolderVisible, EditOwnedItems, DeleteOwnedItems
  • NonEditingAuthor   CreateItems, ReadItems, FolderVisible
  • Reviewer   ReadItems, FolderVisible
  • Contributor   CreateItems, FolderVisible

The following roles apply specifically to calendar folders:

  • AvailabilityOnly   View only availability data
  • LimitedDetails   View availability data with subject and location

Note:
Applies to:  Exchange 2010, 2013, 2016 and Online (not sure about 2007 and 2003 I haven’t tested it)

Everton Menezes
 

I am the founder of  Tecknowledgebase.com I have over 10 years of extensive experience in the IT industry with wide exposure to a range of technologies.