Skip to content

Instantly share code, notes, and snippets.

@seanosullivanuk
Created October 15, 2020 10:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seanosullivanuk/b72955fde6c4b9d4e80269b757ecddf1 to your computer and use it in GitHub Desktop.
Save seanosullivanuk/b72955fde6c4b9d4e80269b757ecddf1 to your computer and use it in GitHub Desktop.
Manage Calendar permissions on an Exchange Online mailbox
# View the existing Calendar permissions on the Break Room mailbox
Get-MailboxFolderPermission -Identity breakroom@example.co.uk:\Calendar
# Add John Smith to the Break Room mailbox's calendar, as Reviewer
Add-MailboxFolderPermission -Identity breakroom@example.co.uk:\Calendar -User john.smith@example.co.uk -AccessRights Reviewer
# You can change existing access to the Break Room calendar, with the Set commandlet
Set-MailboxFolderPermission -Identity breakroom@example.co.uk:\Calendar -User john.smith@example.co.uk -AccessRights Editor
# When you are done, use the Remove commandlet
Remove-MailboxFolderPermission -Identity breakroom@example.co.uk:\Calendar -User john.smith@example.co.uk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment