Site icon TechZilica ~ On the Edge

How to adjust calendar permissions on Microsoft 365 Exchange Online with PowerShell

PowerShell Window Showing Calendar Permissions

&Tab;&Tab;<div data-elementor-type&equals;"wp-post" data-elementor-id&equals;"586" class&equals;"elementor elementor-586" data-elementor-post-type&equals;"post">&NewLine;&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;<section class&equals;"elementor-section elementor-top-section elementor-element elementor-element-247229d elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id&equals;"247229d" data-element&lowbar;type&equals;"section">&NewLine;&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;<div class&equals;"elementor-container elementor-column-gap-default">&NewLine;&Tab;&Tab;&Tab;&Tab;&Tab;<div class&equals;"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-84c266f" data-id&equals;"84c266f" data-element&lowbar;type&equals;"column">&NewLine;&Tab;&Tab;&Tab;<div class&equals;"elementor-widget-wrap elementor-element-populated">&NewLine;&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;<div class&equals;"elementor-element elementor-element-8abcbcc elementor-widget elementor-widget-heading" data-id&equals;"8abcbcc" data-element&lowbar;type&equals;"widget" data-widget&lowbar;type&equals;"heading&period;default">&NewLine;&Tab;&Tab;&Tab;&Tab;<div class&equals;"elementor-widget-container">&NewLine;&Tab;&Tab;&Tab;&Tab;&Tab;<h2 class&equals;"elementor-heading-title elementor-size-default">Intro<&sol;h2>&Tab;&Tab;&Tab;&Tab;<&sol;div>&NewLine;&Tab;&Tab;&Tab;&Tab;<&sol;div>&NewLine;&Tab;&Tab;&Tab;&Tab;<div class&equals;"elementor-element elementor-element-b3fe1b8 elementor-widget elementor-widget-text-editor" data-id&equals;"b3fe1b8" data-element&lowbar;type&equals;"widget" data-widget&lowbar;type&equals;"text-editor&period;default">&NewLine;&Tab;&Tab;&Tab;&Tab;<div class&equals;"elementor-widget-container">&NewLine;&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;<p>Adjusting calendar permissions using PowerShell is the most common thing people administrating Microsoft 365 Exchange Online will use&comma; and in my case&comma; it is the first function I&&num;8217&semi;ve used PowerShell for professionally&period;<&sol;p><p>I find the command can be confusing despite using it countless times due to the ambiguity in the syntax&semi; I&&num;8217&semi;ll frequently refer back to help documents online for this reason&period;<&sol;p><p> <&sol;p><h3>Disambiguation&colon;<br &sol;>I describe the calendar you are adding permissions to as &&num;8216&semi;calendar&commat;example&period;com&&num;8217&semi; and the user you are providing access to as &&num;8216&semi;delegate&commat;example&period;com&&num;8217&semi;&period;<&sol;h3>&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;<&sol;div>&NewLine;&Tab;&Tab;&Tab;&Tab;<&sol;div>&NewLine;&Tab;&Tab;&Tab;&Tab;<div class&equals;"elementor-element elementor-element-e6f7b72 elementor-widget elementor-widget-heading" data-id&equals;"e6f7b72" data-element&lowbar;type&equals;"widget" data-widget&lowbar;type&equals;"heading&period;default">&NewLine;&Tab;&Tab;&Tab;&Tab;<div class&equals;"elementor-widget-container">&NewLine;&Tab;&Tab;&Tab;&Tab;&Tab;<h2 class&equals;"elementor-heading-title elementor-size-default">Method<&sol;h2>&Tab;&Tab;&Tab;&Tab;<&sol;div>&NewLine;&Tab;&Tab;&Tab;&Tab;<&sol;div>&NewLine;&Tab;&Tab;&Tab;&Tab;<div class&equals;"elementor-element elementor-element-2c6f713 elementor-widget elementor-widget-text-editor" data-id&equals;"2c6f713" data-element&lowbar;type&equals;"widget" data-widget&lowbar;type&equals;"text-editor&period;default">&NewLine;&Tab;&Tab;&Tab;&Tab;<div class&equals;"elementor-widget-container">&NewLine;&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;<p><strong>Step 1&colon;<&sol;strong><br &sol;><a href&equals;"http&colon;&sol;&sol;techzilica&period;com&sol;microsoft-365&sol;connect-to-exchange-online-powershell-with-mfa&sol;">Connect to Exchange Online &lpar;click here for detailed steps&rpar;<&sol;a><&sol;p><p><strong>Step 2&colon;<&sol;strong><&sol;p><p>Identify the level of permission you wish to grant to the calendar&period; There are a range of options&colon;<&sol;p><blockquote><ul><li>Author&colon; CreateItems&comma; DeleteOwnedItems&comma; EditOwnedItems&comma; FolderVisible&comma; ReadItems<&sol;li><li>Contributor&colon; CreateItems&comma; FolderVisible<&sol;li><li>Editor&colon; CreateItems&comma; DeleteAllItems&comma; DeleteOwnedItems&comma; EditAllItems&comma; EditOwnedItems&comma; FolderVisible&comma; ReadItems<&sol;li><li>NonEditingAuthor&colon; CreateItems&comma; DeleteOwnedItems&comma; FolderVisible&comma; ReadItems<&sol;li><li>Owner&colon; CreateItems&comma; CreateSubfolders&comma; DeleteAllItems&comma; DeleteOwnedItems&comma; EditAllItems&comma; EditOwnedItems&comma; FolderContact&comma; FolderOwner&comma; FolderVisible&comma; ReadItems<&sol;li><li>PublishingAuthor&colon; CreateItems&comma; CreateSubfolders&comma; DeleteOwnedItems&comma; EditOwnedItems&comma; FolderVisible&comma; ReadItems<&sol;li><li>PublishingEditor&colon; CreateItems&comma; CreateSubfolders&comma; DeleteAllItems&comma; DeleteOwnedItems&comma; EditAllItems&comma; EditOwnedItems&comma; FolderVisible&comma; ReadItems<&sol;li><li>Reviewer&colon; FolderVisible&comma; ReadItems<&sol;li><li>AvailabilityOnly&colon; View only availability data<&sol;li><li>LimitedDetails&colon; View availability data with subject and location<&sol;li><&sol;ul><p>Source&colon; <a href&equals;"https&colon;&sol;&sol;docs&period;microsoft&period;com&sol;en-us&sol;powershell&sol;module&sol;exchange&sol;add-mailboxfolderpermission&quest;view&equals;exchange-ps">Microsoft&period;com<&sol;a><&sol;p><&sol;blockquote><p><strong>Step 3&colon;<&sol;strong><&sol;p><p>You now need to determine if the delegate has any outstanding permissions to the calendar&comma; as this will determine what command you use&period;<br &sol;>Enter the following command to retrieve the permissions currently set on the calendar&colon;<&sol;p><blockquote><p>Get-MailboxFolderPermission -Identity calendar&commat;example&period;com&colon;&bsol;calendar<&sol;p><&sol;blockquote><p><strong>Step 4&colon;<&sol;strong><&sol;p><p>Once you know if there are any outstanding permissions for the delegate&comma; you can enter in one of the following commands&colon;<&sol;p><p>If there are permissions already set&comma; and you need to change them&colon;<&sol;p><blockquote><p>Set-MailboxFolderPermission -Identity calendar&commat;example&period;com&colon;&bsol;calendar -User delegate&commat;example&period;com -Accessrights &lbrace;permission-level&rcub;<&sol;p><&sol;blockquote><p>If you find the delegate doesn&&num;8217&semi;t already have any permissions set to the calendar&comma; you need to use this command&colon;<&sol;p><blockquote><p>Add-MailboxFolderPermission -Identity calendar&commat;example&period;com&colon;&bsol;calendar -User delegate&commat;example&period;com -Accessrights &lbrace;permission-level&rcub;<&sol;p><&sol;blockquote><p>That&&num;8217&semi;s it&excl;<&sol;p><p>If you need to change the permission <span style&equals;"text-decoration&colon; underline&semi;"><strong>for all current and future users<&sol;strong><&sol;span>&comma; you can set the &&num;8216&semi;Default&&num;8217&semi; permission&colon;<&sol;p><blockquote><p>Set-MailboxFolderPermission -Identity calendar&commat;example&period;com&colon;&bsol;calendar -User default -Accessrights &lbrace;permission-level&rcub;<&sol;p><&sol;blockquote>&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;<&sol;div>&NewLine;&Tab;&Tab;&Tab;&Tab;<&sol;div>&NewLine;&Tab;&Tab;&Tab;&Tab;&Tab;<&sol;div>&NewLine;&Tab;&Tab;<&sol;div>&NewLine;&Tab;&Tab;&Tab;&Tab;&Tab;<&sol;div>&NewLine;&Tab;&Tab;<&sol;section>&NewLine;&Tab;&Tab;&Tab;&Tab;<&sol;div>&NewLine;&Tab;&Tab;

Exit mobile version