Open a Shared Calendar in Office 365 without mapping the inbox

Scenario:

You want users to have Full access to a shared calendar but…

You don’t want the inbox of this new account to be mapped to the users profile.

 

The above scenario can be achieved via PowerShell

  • First connect to the MSOL Exchange tenant with PowerShell

$UserCredential = Credential user@someplace.com

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session

  • Next add the shared calendar for each user excluding the “inbox” using this PowerShell command

Add-MailboxPermission –Identity sharedCalendar@someplace.com –User someone -AccessRights FullAccess -AutoMapping:$false

  • Finally have each user open the new shared calendar from their outlook profile

This will allow shared access to the new shared calendar without also adding the inbox to the users outlook profile.

 

Use this script to Bulk add users mailbox permissions via powershell

  • Prepare a .csv file with one column called Mailbox then add the users addresses in each row that you want to grant access to
  • Run this PowerShell script

Import-Csv C:\AddMailboxPermissions.csv | foreach { Add-MailboxPermission calendar@someplace.com -User $_.Mailbox -AccessRights FullAccess -AutoMapping:$false  }

Leave a Reply

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