Manipulating User’s Calendar Permissions:
Open Windows Powershell as Admin.
Connect to Microsoft Exchange:
- Connect-ExchangeOnline
Grabbing Permission Details of a Calendar:
- Get-MailboxFolderPermission -Identity UserEmail:\calendar
This will present a table of each user that has access to the calendar with their levels of access.
Types of Access Rights:
Individual Permissions:
None | The user has no access to view or interact with the folder or its contents. |
CreateItems: | The user can create items within the specified folder. |
CreateSubfolders | The user can create subfolders in the specified folder. |
DeleteAllItems | The user can delete all items in the specified folder. |
DeleteOwnedItems | The user can only delete items that they created from the specified folder. |
EditAllItems | The user can edit all items in the specified folder. |
EditOwnedItems | The user can only edit items that they created in the specified folder. |
FolderContact | The user is the contact for the specified public folder. |
FolderOwner | The user is the owner of the specified folder. The user can view the folder, move the folder, and create subfolders. The user can’t read items, edit items, delete items or create items. |
FolderVisible | The user can view the specified folder but can’t read or edit items within the specified public folder. |
ReadItems | The user can read items within the specified folder. |
User Roles: These roles will include several individual permissions.
Author | DeleteOwnedItems, EditOwnedItems, FolderVisible, ReadItems |
Contributor | CreateItems, FolderVisible |
Editor | CreateItems, DeleteAllItems, DeleteOwnedItems, EditAllItems, EditOwnedItems, FolderVisible, ReadItems |
NonEditingAuthor | CreateItems, DeleteOwnedItems, FolderVisible, ReadItems |
Owner | CreateItems, CreateSubfolders, DeleteAllItems, DeleteOwnedItems, EditAllItems, EditOwnedItems, FolderContact, FolderOwner, FolderVisible, ReadItems |
PublishingAuthor | CreateItems, CreateSubfolders, DeleteOwnedItems, EditOwnedItems, FolderVisible, ReadItems |
PublishingEditor | CreateItems, CreateSubfolders, DeleteAllItems, DeleteOwnedItems, EditAllItems, EditOwnedItems, FolderVisible, ReadItems |
Reviewer | FolderVisible, ReadItems |
Adding User Permissions to another User’s Calendar:
Add-MailboxFolderPermission -Identity UserEmail1:\Calendar – User UserEmail2 – AccessRights Editor
Removing User Permissions from another User’s Calendar:
Remove-MailboxFolderPermission -Identity “User1Email:\calendar -user “User2Email”
References:
- https://learn.microsoft.com/en-us/powershell/module/exchange/add-mailboxfolderpermission?source=recommendations&view=exchange-ps
- https://learn.microsoft.com/en-us/powershell/module/exchange/remove-mailboxfolderpermission?source=recommendations&view=exchange-ps
- https://learn.microsoft.com/en-us/powershell/module/exchange/get-mailboxfolderpermission?source=recommendations&view=exchange-ps