M365 MailboxFolder PermsChange

See GitHub to download or for more information: https://github.com/ITAutomator/M365-MailboxFolder-PermsChange

Overview

Applies permission changes to Outlook folders (Calendar and Contacts folders) to give someone access.

Can change the default permissions of the calendar from free/busy (AvailabilityOnly) to more details (LimitedDetails).

See also

For delegates: see M365DelegateCalendarAdd.ps1

Delegates have the additional ability to book meetings on behalf of the person. A calendar editor should probably be a delegate.  It implies SendAs or SendOnBehalf permission.

For full permissions: see M365MailboxFullAccess.ps1

Full permission is essentially same as Shared Mailbox access without the ability to SendAs.

[next page]

CSV columns

ColumnContents
IdentityFromMailbox giving access.  Email or Display name. Can be mail-enabled security group.  
IdentityToMailbox getting access. Email or Display name DEFAULT for Calendar default – to whole company
FolderCan be one of:  Contacts, Calendar, Tasks  
PermissionSee tables below

Permission tables

Commonly UsedWill give all these
EditorCreateItems, DeleteAllItems, DeleteOwnedItems, EditAllItems, EditOwnedItems, FolderVisible, ReadItems
NoneFolderVisible
OwnerCreateItems, CreateSubfolders, DeleteAllItems, DeleteOwnedItems, EditAllItems, EditOwnedItems, FolderContact, FolderOwner, FolderVisible, ReadItems
ReviewerFolderVisible, ReadItems
Less commonWill give all these
AuthorCreateItems, DeleteOwnedItems, EditOwnedItems, FolderVisible, ReadItems    
ContributorCreateItems, FolderVisible
NonEditingAuthorCreateItems, FolderVisible, ReadItems PublishingEditor: CreateItems, CreateSubfolders, DeleteAllItems, DeleteOwnedItems, EditAllItems, EditOwnedItems, FolderVisible, ReadItems
PublishingAuthorCreateItems, CreateSubfolders, DeleteOwnedItems, EditOwnedItems, FolderVisible, ReadItems
Only for calendar foldersWill give all these
AvailabilityOnlyView only availability data  (This is the DEFAULT for calendar)
LimitedDetailsView availability data with subject and location.  Does NOT expose items marked as private.

[next page]

Advanced Use Notes

The program can adjust any named folder.  But, other than for calendar and contacts it’s not that useful since Outlook doesn’t have a built-in way to ‘get to’ the other folders of another person’s mailbox. Eg if there are 2 contact folders or 2 calendars.

One workaround is to give user non-inherting access to the ‘root’ of the mailbox:

Source mailbox:

Root > Permissions > View only access (mailbox permissions aren’t pushed to subfolders – however, NEW folders will inheret permissions)

Then give permissions to the subfolder you need.

Delegate mailbox:

Account Properties > Advanced (tab) > Advanced (button) > Add other mailbox

This only works in Outlook for Windows

[end of document]

Leave a Reply

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