Office 365 Publishing Room Calendar to Web

If you use Office 365 and have a room / resource calendar that you would like to be public on the web you can use the following commands:

Set-MailboxCalendarFolder -Identity public@companydomain.com:\calendar -PublishEnabled $true
Get-MailboxCalendarFolder -Identity public@companydomain.com:\calendar
Set-MailboxCalendarFolder -Identity public@companydomain.com:\calendar -DetailLevel Full
Set-MailboxCalendarFolder -Identity public@companydomain.com:\calendar -PublishDateRangeTo OneYear
Set-MailboxCalendarFolder -Identity public@companydomain.com:\calendar -PublishDateRangeFrom OneYear

Site visitor “Chris” has helpfully found the command to get the URLs:

Get-MailboxCalendarFolder -identity resourceuser@domain.com:\calendar

These are just examples of what they would look like. You would then take the CalendarURL and iframe or link to it on your website.

PublishedCalendarUrl : http://outlook.office365.com/owa/calendar/8b32dd7124074be1801724997e8f6fc5@companydomain.com/8f9b3ea1789b4a09abb4e54c8845c4db5295601334478869598/calendar.html
PublishedICalUrl : http://outlook.office365.com/owa/calendar/8b32dd7124074be1801724997e8f6fc5@companydomain.com/8f9b3ea1789b4a09abb4e54c8845c4db5295601334478869598/calendar.ics 

Be aware that the public URL and iCal feed DOES NOT contain the category information. This means custom colors for events or category names are not visible to the public. (A bit annoying!).

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

9 Responses to Office 365 Publishing Room Calendar to Web

  1. Chris says:

    Hi, thanks for this post. Did you figure out how to get the public URLs of the published calendar? Thanks!

  2. I will try again and update this post (and make another comment reply) if I get time. Spare time is quite thin on the ground at the moment.

  3. Chris says:

    I just found it out:
    Get-MailboxCalendarFolder -identity resourceuser@domain.com:\calendar
    Cheers

  4. Fantastic, thank you for posting the answer :) Saves me some time! I will update the post.

  5. Jonathan says:

    Thank you for this. I went through a million posts before I got this to work.

  6. Thomas Dilts says:

    Hello Computer Guy! You’re the best! Just what I needed.

  7. Jens says:

    Hi.
    Any idea how I can have the details shown and get an url to show “Week” view?

  8. Javier Bonilla says:

    I get Forbidden access for the url. Do I need to change the folder permissions too? this is a room calendar.

  9. Niall Mullen says:

    I need to view a calendar in daily view on Digital Signage that only supports URLs. There does not seem to be a way to change the view from the URL in O365. Defaults to month view.

Comment on this topic

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s