Assign calendar access with Powershell

- Words
2025-01-29

Managing Calendar permissions using Powershell.


Command List

Import the Exchange Online Management Module and Connect to Exchange Online

Import-Module ExchangeOnlineManagement
Connect-ExchangeOnline

Add the mailbox calendar permissions

Add-MailboxFolderPermission -Identity calendar-sharer@domain.com:\Calendar -User accessing-user@domain.com -AccessRights Editor -SendNotificationToUser $true

To check who has permissions to a mailbox

Get-MailboxFolderPermission -Identity calendar-sharer@domain.com:\Calendar

To remove access

Remove-MailboxFolderPermission -Identity [email protected]:\Calendar -User [email protected]

 

Reference:

Set-MailboxFolderPermission (ExchangePowerShell) | Microsoft Learn

 


Jozef
Author