How to set up Calendar Publishing in Office 365 Beta.

UPDATE: 26 June 2011 – It appears that the PowerShell command needed to enable Calandar Publishing has been locked down by Microsoft. Attempting to run the Enable-OrganizationCustomization command now results in an error message stating “This operation is not available in current service offer”. I will try establish why this has changed and when (if?) the function will be restored. Until further notice, the instructions below will not work.

One of the features I really need from Office 365 Outlook is for people to know when I’m available without having to phone or email me. You can expose your calendar to colleagues with Calendar Sharing, but for clients and suppliers (i.e.: users outside of your organisation) you need Calendar Publishing.

Unfortunately,  Calendar Publishing is not enabled by default and comprehensive online guidance is hard to come by. Hopefully this blog will make your life a little bit  easier.

Enabling Calendar Publishing consists of two phases. The first phase enables calendar publishing for email organisation and  is made up of PowerShell cmdlets (command-lets). You will need administrator permissions in your Office  365 organisation to perform them. If you do not have administrator permissions, forward this to someone who has and ask them to help.

The second phase enables calendar publishing for your individual calendar and is easily done in your Office 365 Outlook web page. But first the detailed PowerShell steps 🙂

Before you begin, please note:

  • If you make a mistake, PowerShell will display an error message. If you do not make a mistake and the command suceeds, PowerShell often does not display anything. The lack of an error message indicates success!
  • I have colour coded the PowerShell commands like this, so it’s only the coloured text you need to retype (or copy and paste).
  • The cmdlets are not case-sensitive although it might be easier to hunt for typos if you use the same case as the sample.
  • Even though some of the longer cmdlets wrap over multiple line, you need to type them out as one continuous command before pressing enter.

Okay? Lets go.

  1. Open PowerShell. If you’re running Windows 7 or Server 2008 it should already be installed. If you don’t have it you can install it as part of the Windows Management Framework. Download the WMF here.
  2. Once Powershell is up and running type $cred = Get-Credential.
    This will open a dialog box asking for your user name and password, which PowerShell will save for later use. Your security details will be saved for the duration of the PowerShell session, so be sure to close the PowerShell window when you’re done
    .
  3. Next, type $s =  New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri  https://ps.outlook.com/powershell -Credential $cred -Authentication Basic  -AllowRedirection.
  4. Set-ExecutionPolicy -ExecutionPolicy unrestricted. This cmdlet lowers your shell security to enable you to run the next cmdlet which executes a script from Microsoft’s servers.
  5. $ImportResults = Import-PSSession $s
  6. Set-ExecutionPolicy -ExecutionPolicy  restricted. This cmdlet restores your shell security.
  7. Enable-OrganizationCustomization
  8. Set-SharingPolicy -Identity “default  sharing policy” -Domains “anonymous:calendarsharingfreebusysimple”
  9. Exit

That’s the PowerShell phase done. You only need to do this once and all your Office 365 users will be able to publish their calendars.

To publish your own calendar, begin by logging on to Office 365 with your account.

  1. Go to Outlook
  2. Go To Calendar
  3. Click on Share on the toolbar, and select “Publish this calendar to the Internet”
  4. Configure the options to control how your calendar is shared
    Publishing detail:
    Availability Only – shows Free, Busy, Tentative, or Away.
    Limited Details – also shows subjects of meetings.
    Full Details – shows all details
    Access level:
    Restricted – People only have access if they receive a link to your published calendar
    Public – Search engines can discover your calendar. Choose this option only if  you want your calendar to be available to anyone.
  5. Click Start Publishing
  6. Once the Calendar is published you can email the hyperlink to the people who need access to your Calendar.

    The “Link for subscribing to this calendar” link will enable Outlook users to add your Calendar to their Outlook and receive automatic updates whenever to update your calendar.The “Link for viewing calendar in a Web browser” will enable other users to view your Calendar or you can use the hyperlink on your own Web site like this.
  7. You’re done!

Disclaimer: As with any personal information, you need to exercise common sense and discretion in sharing it. Act within the guidelines of your company security policy. If you’re not sure whether you should publish your Calendar or what level of detail to publish, check with your IT department. I accept no responsibility for anything bad that happens due to you over-sharing 🙂

Happy Publishing!

References:

Advertisements

Posted on May 21, 2011, in Calandar, Office 365, Outlook and tagged , , , . Bookmark the permalink. 7 Comments.

  1. Is there any news on this? I’d really like to be able to see my Office 365 calendar in something other than OWA or Outlook! I happen to use google calendars as my centralized calendering source. Some sort of standards-based access to Office 365 calendar would really help a lot of us out.

    • Hi Bruce,

      I haven’t tested this in a while. If you have an Office 365 account already you can try the steps and see if they work. If it fails you can post a question on the Office 365 help forums. If you don’t have an Office 365 accout yet then please let me know and I will test and folow up for you.

  2. Terrence, my company JUST moved to Office365 over the weekend. I know our support folks are pretty busy right no, so if you do have time to check it out, that’d be great. If not, I can wait a while and get with them (I’ve gone this long without it from BPOS, I can wait a little while longer).

    Thanks for the article, either way!

  3. Hi Bruce,

    I can confirm this still doesn’t work, although I’m not sure that you’ll get confirmation of that from O365 support.

    Rgds,

    Mick

  4. Thanks for this interesting post. Maybe you can help me with the next step:
    How can I actually publish the calendar using powershell only (no owa!)?

    I would like, as an administrator, to publish all of my users calanders usigng powershell

    Thanks,
    Shai

  5. Hi, I’d like to add some info that helped me. Our default sharing policy says Free/busy only with no details. Conference rooms needed additional details for digital signage and sharepoint sites. We created a second sharing policy with limited details and changed the conference rooms to that policy. See http://community.office365.com/en-us/forums/158/t/20086.aspx for details. You can then use powershell to publish the calendars http://technet.microsoft.com/en-us/library/dd298124.aspx

  6. Terence:

    According to this document on help.outlook.com, the Enable-OrganizationCustomization cmdlet can only be run once. The second time, PowerShell gives the (somewhat cryptic, unhelpful) error you mention in your June 2011 update.

    I don’t have any way to verify this personally; I’m trying to get my university to enable the calendar publishing feature in Live@edu, which is what brought me here. Just wanted to point out that the “This operation is not available” error doesn’t necessarily mean that Microsoft has nixed the feature.

Leave a Reply

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

%d bloggers like this: