1. Enable the Exchange Administrator role in PIM (if Powershell is open before Exchange Admin is activated, close out of Powershell and then re-open after activation)
2. Open Powershell as an Administrator and then running the following commands:
Install-Module -Name ExchangeOnlineManagement -RequiredVersion 2.0.5
- If prompted, "Yes to All"
Set-ExecutionPolicy Unrestricted
Import-Module ExchangeOnlineManagement
3. Close Powershell
4. Open a regular instance of Powershell (NOT ADMINISTRATOR) and then run the following command:
Connect-ExchangeOnline
5. Log into your Administrator account and then run the following command:
Get-MailboxFolderPermissions USERNAME:\calendar
- Ex. Get-MailboxFolderPermission merced.cohen@civicfs.com:\calendar
6. Confirm which users currently have access to the calendar
7. If the delegate user doesn't have access, run the following command:
Add-MailboxFolderPermission USERNAME:\calendar -User DELEGATEUSERNAME Editor
- Ex. Add-MailboxFolderPermission merced.cohen@civicfs.com:\calendar -User jo.smith@civicfs.com -AccessRights Editor
8. Confirm that the delegate you just added appears in the original user's folder permissions:
Get-MailboxFolderPermission USERNMAE:\calendar
- Ex. Get-MailboxFolderPermission merced.cohen@civicfs.com :\calendar
*Note that the delegate user may need to remove and re-add the shared calendar in Outlook after running these commands, if they had previously added the calendar before having access
Remove Access:
Remove-MailboxFolderPermission USERNAME:\calendar -User DELEGATEUSERNAME -Confirm:$false
- Ex. Remove-MailboxFolderPermission merced.cohen@civicfs.com :\calendar -User jo.smith@civicfs.com -Confirm:$false
Verify the user has been removed by running the following command:
Get-MailboxFolderPermission USERNAME:\calendar
- Ex. Get-MailboxFolderPermission merced.cohen@civicfs.com :\calendar