0 XP

Calendar delegates and SharingPermissionFlags

Making a calendar delegate

A calendar delegate receives meeting invites and responses for someone else. In Exchange Online this is a folder permission with an extra flag:

Add-MailboxFolderPermission -Identity ayla@contoso.com:\Calendar -User julia@contoso.com -AccessRights Editor -SharingPermissionFlags Delegate

Delegate makes the user receive meeting invites and responses, and creates or updates the meeting message rule. Full Access, Reviewer or Send on Behalf on their own don't do this.

The SharingPermissionFlags rules

  • Exchange Online only.
  • Calendars only.
  • Allowed only with Editor. The same command with Reviewer fails.
  • Values: None (the default), Delegate, and CanViewPrivateItems.
  • CanViewPrivateItems must be combined with Delegate: -SharingPermissionFlags Delegate,CanViewPrivateItems.

So a delegate who must see private items gets Editor plus Delegate,CanViewPrivateItems. CanViewPrivateItems alone is refused, and Owner is an access level, not a flag.

Resource mailbox delegates

For a room that needs approval, Microsoft's example combines booking settings with the delegate permission:

  • Set-CalendarProcessing -Identity room -AllBookInPolicy $false -AllRequestInPolicy $true -ResourceDelegates "Robin Wood"
  • Set-MailboxFolderPermission -Identity "room:\Calendar" -User "Robin Wood" -AccessRights Editor -SharingPermissionFlags Delegate

In the new EAC, booking delegates are set under Recipients > Resources, on the room's Booking delegate settings when you create it, or its Delegation tab afterwards.

Other values change the behaviour:

  • AllBookInPolicy $true lets everyone book directly, so nothing goes for approval.
  • AutomateProcessing None turns off both the resource booking attendant and the Calendar Attendant.

Don't use nested groups in resource mailbox settings.

Trap

There are three different "delegates" in Exchange Online:

  • A Full Access delegate opens the mailbox.
  • A Send on Behalf delegate sends as "on behalf of".
  • A calendar delegate is Editor with SharingPermissionFlags Delegate and gets the meeting traffic.

Grant the one the request actually needs.

Knowledge check

4 questions on what you just read. Each answer shows the full explanation and its source.

Loading…