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 [email protected]

$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 [email protected] –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 [email protected] -User $_.Mailbox -AccessRights FullAccess -AutoMapping:$false  }