Calendar Publishing Office 365 using PowerShell

Internet Calendars are calendars that can be published to the Internet where others can view or subscribe to them. We can make it easy to enable and disable sharing using PowerShell. This is especially handy if an Exchange Online administrator has to set this up for other users.

To Enable Calendar Publishing

Set-MailboxCalendarFolder -Identity user@domain.com:\Calendar -DetailLevel LimitedDetails -SearchableUrlEnabled $false -PublishEnabled $true -PublishDateRangeTo SixMonths

To Get Published Calendar Public URL

Get-MailboxCalendarFolder -Identity user@domain.com:\Calendar | FL Identity, PublishedCalendarUrl

To Disable Calendar Publishing

Set-MailboxCalendarFolder -Identity user@domain.com:\Calendar -DetailLevel AvailabilityOnly -SearchableUrlEnabled $false -PublishEnabled $false

Author: Vikram

I am just an IT person trying to share as much knowledge as possible hoping someone will find it helpful. It just takes time to organize everything from my head into something that makes sense.
5 1 vote
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments