How to publish a calendar from Outlook to IIS and WebDAV
How do I publish a shared calendar using WebDav?
If you have ever asked this question then hopefully the answer will be below.
The first thing you need to do is to make sure that WebDAV is installed on the IIS machine. This is discussed here:
"Installing and Configuring WebDAV on IIS 7"
In my example I run IIS 7.5 on Windows 2008 R2, so all we need is to make sure that the WebDAV role is enabled.
Go to Server Manager, expand the Roles and go to Web Server (IIS) and check that WebDAV Publishing role is installed.
If not, simply install it by selecting it from the “Add Role Service” list.
Once this is done. Enable WebDAV on the server as described in the link above.
Simply select your site, double click the “WebDAV Authoring Rules” and then select “Enable WebDAV” in the Actions pane.
Create a new application called something useful, “SharedCalendar” in my case.
Double click the “WebDAV Authoring rules” and select “Add Authoring Rule…” for the “SharedCalendar” site and set it to your preference.
I simply give everyone full access.
Now create a new calendar, “SharedToWebCalendar” in my case, in Outlook and add some events (with Show as Busy and Free).
On the Outlook machine map the WebDAV site from a command prompt like so:
net use * https://<your site>/SharedCalendar
This should tell you the following:
Drive Z: is now connected to https://<your site>/SharedCalendar
The command completed successfully.
If not, there are some error codes to have a look at here:
“Using the WebDAV Redirector”
and then click the “Publish Online” button and select “Publish to WebDav Server…” with, for example, the following settings:
You will get a question if you want to send an invitation, do so if you feel like it.
Now the .ics file is published on the webserver.
If the recipient of the email goes to the url the calendar will be opened by Outlook if this is installed on the machine.
Hope this helps.