Add Calendar Permissions in Office 365 via Powershell

This is a tutorial on adding calendar permissions in Office 365 for your users via Powershell. You can add permissions onto a specific mailbox, or you can add it onto a security group.

Office 365 Calendar Permissions

Step 1

The first is step is to launch Windows Powershell. I recommend running it as administrator. 

Step 2

Run the following command to login to 365 via Powershell and login with your 365 admin credentials.

$LiveCred = Get-Credential

Step 3

Now you need to create a new session.

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection

Step 4

Now we need to import the session.

Import-PSSession $Session

Step 5

These are the available roles:

  • Owner
  • PublishingEditor
  • Editor
  • PublishingAuthor
  • Author
  • NonEditingAuthor
  • Reviewer
  • Contributor
  • AvailabilityOnly
  • LimitedDetails

Now run the following command. In this example below, user2 would be able to open user1 calendar and edit it.

Add-MailboxFolderPermission -Identity user1@domain.com:\calendar -user user2@domain.com -AccessRights Editor

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Please sign in to leave a comment.