Powershell2 min read

Assign Office 365 Calendar Permissions via PowerShell

Easily assign a user access to a calendar via PowerShell

Updated November 2026

The original version of this post connected using Basic authentication, which Microsoft no longer supports. It now uses the Exchange Online PowerShell module, and the list of roles has been checked against Microsoft’s current documentation.

Using the below example you can easily grant access to a user mailbox or shared mailbox calendar.

First connect to Exchange Online. If you haven’t done that before, see Connecting to Office 365 Exchange Online via PowerShell.

Connect-ExchangeOnline -UserPrincipalName you@yourdomain.com

Grant access

Add-MailboxFolderPermission -Identity userwhoownscalendar@domain.com:\Calendar -User userwhoneedsaccess@domain.com -AccessRights Editor

To see who already has access to a calendar:

Get-MailboxFolderPermission -Identity userwhoownscalendar@domain.com:\Calendar

If the user already has a permission on that calendar, Add-MailboxFolderPermission will give you an error. Use Set-MailboxFolderPermission to change it:

Set-MailboxFolderPermission -Identity userwhoownscalendar@domain.com:\Calendar -User userwhoneedsaccess@domain.com -AccessRights Reviewer

Make someone a delegate

Editor access on its own doesn’t send the person meeting invites. To make them a proper calendar delegate who receives meeting requests and responses, add the delegate flag:

Add-MailboxFolderPermission -Identity userwhoownscalendar@domain.com:\Calendar -User userwhoneedsaccess@domain.com -AccessRights Editor -SharingPermissionFlags Delegate

If they also need to see private appointments, use -SharingPermissionFlags Delegate,CanViewPrivateItems.

Access rights and what they do

The following individual permissions are available:

  • 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.

The roles that are available, along with the permissions that they assign, are described in the following list:

  • Author: CreateItems, 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

The following roles apply specifically to calendar folders:

  • AvailabilityOnly: View only availability data
  • LimitedDetails: View availability data with subject and location

The full reference is on Microsoft Learn: Add-MailboxFolderPermission.

Written by Steve

I'm only human and can make mistakes. If you spot anything wrong or have anything to add, please let me know in the comments. More about me

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.