Exchange Calendar Permission Extravaganza
- ToddimusPrime
- May 25, 2021
- 1 min read
First, make sure you connect to Exchange Online in your PowerShell window.
Exchange calendars are technically just folders within an Exchange account. So, the cmdlets that will be used are Get/Set/Add/Remove-MailboxFolderPermission
Get-MailboxFolderPermission
This cmdlet is used to view the current permissions on a folder.
For example, the following will display the current permissions set on Bosworth’s calendar. The :\Calendar is telling the cmdlet which folder of the mailbox to look at. ‘Calendar’ is the default name of the account’s calendar.
Get-MailboxFolderPermission -identity bosworth@company.com:\Calendar
Add-MailboxFolderPermission
This cmdlet is used to add a new permission on a folder.
For example, the following will give Jiminy reviewer permission on Bosworth’s calendar. The -AccessRights section is what rights to give the user. The options are Author, AvailabilityOnly, Contributor, Editor, LimitedDetails, NonEditingAuthor, Owner, PublishingEditor, PublishingAuthor, Reviewer
Add-MailboxFolderPermission -identity bosworth@company.com:\Calendar -user jiminy@company.com -AccessRights Reviewer
Set-MailboxFolderPermission
This cmdlet is used for modifying a permission that is already assigned to a calendar.
For example, the following will change Jiminy’s permission on Bosworth’s calendar to LimitedDetails.
Set-MailboxFolderPermission -identity bosworth@company.com:\Calendar -user jiminy@company.com -AccessRights LimitedDetails
Remove-MailboxFolderPermission
This cmdlet is used to remove a user’s permission entirely from a calendar.
For example, the following will remove Jiminy access to Bosworth’s calendar.
Remove-MailboxFolderPermission -identity bosworth@company.com:\Calendar -user jiminy@company.com




Comments