[MICROSOFT 365] – Calendar Permission (GET, SET, ADD and REMOVE)

Hey there!

The syntax for all four commands:

Get-MailboxFolderPermission -Identity user-A@domain.com:\calendar
Set-MailboxFolderPermission -Identity user-A@domain.com:\calendar -user user-B@domain.com -AccessRights Editor
Add-MailboxFolderPermission -Identity user-A@domain.com:\calendar -user user-B@domain.com -AccessRights Editor
Remove-MailboxFolderPermission -Identity user-A@domain.com:\calendar -user user-B@domain.com

Let’s take a quick look at the calendars permission available to use with the switch -AccessRights

Get calendar permission from all users

Get-Mailbox | ForEach-Object {Get-MailboxFolderPermission $_":\calendar"} | Select Identity, User, AccessRights

BYW, an important piece of advice is if your users have their home language from Microsoft 365 different from English you must change the word calendar to the appropriate translation. In my case, I have a lot of Brazilian users so, sometimes I should use calendário as the folder name.

Remove-MailboxFolderPermission -Identity user-A@domain.com:\calendário -user user-B@domain.com

Microsoft 365PowerShell