In an effort to provide samples in a organized and repeatable manner, I have created a format for adding code samples to my blog. The code samples will be added as articles which won't get aggregated here. You can also check the TOC to get links to the new sample section as they come available (right now I just have CDOEX and WebDAV section). I will make posts to advertise the new sample additions so that those of you who subscribe to this feed will get notifications but the code itself will be not be in the post. For example...
After struggling to get this just right for items created in Outlook and OWA, I have samples available that add recurrence to a single appointment using CDOEX and WebDAV...
CDOEX: How To Add Recurrence to a Single Appointment
DAV: How To Add Recurrence to a Single Appointment
...Enjoy
We have received several support calls in the past months relating to migrating Exchange Event Service Scripts from Exchange 5.5 to Exchange 2003. Because it isn’t straightforward or documented (to my knowledge), I came up with this information to help you get your scripts working in Ex 2000. This should only be migration step and I don’t encourage new development to utilize this technology. This will NOT be around in Exchange 12. Please note my previous post before moving forward…
KB: Suitable Applications for Exchange Server Event Scripting
http://blogs.msdn.com/mstehle/archive/2005/12/27/507610.aspx
That being said this is how to setup Exchange Event Service Scripting on an Exchange 2003 server with the minimum permissions needed for both the script authors (the users who will write scripts) and service account (the account used to run the Exchange Event Service). I have tried to provide details of the permissions at the lowest level possible. Obviously if you have numerous mailboxes and application folders you can choose to apply permissions at higher levels (store, group, or organization)…
Service Account Setup
The following steps detail how to create a service account which executes event service scripts...
23018 Overview of Exchange administrative role permissions in Exchange 2003
http://support.microsoft.com/default.aspx?scid=kb;EN-US;823018
Script Author Setup
The following steps detail how to setup an existing Exchange user to author scripts…
Here are some resources I used when putting together this information. Because permissions in Exchange 2003 are much tighter than Exchange 5.5, I needed to identify and infer what permissions were required by the Exchange Event Service based on the old Exchange 5.5 doco below and use the newer Exchange 2003 security information to figure how to apply minimum permissions...
MSDN - Scripts, Agents, and Security
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/exchserv/html/events_2cxl.asp
EHLO - Minimum permissions necessary to access mailbox data
http://blogs.technet.com/exchange/archive/2006/01/25/418099.aspx
Here are some additional resources for Exchange Event Service Scripts. Because the only documentation we have on MSDN is related to Exchange 5.5, it can be a little hard to find…
MSDN - Exchange Event Service, Event processing steps
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/exchserv/html/events_2bfr.asp
MSDN - Agents tab in Outlook
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/exchserv/html/events_8jvp.asp
MSDN - Using the Script Debugger with Exchange Event Service Scripts
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/exchserv/html/events_1eeq.asp
...Many thanks to Chris Nguyen for helping me with some of research
Updated 1/22/2009 – Broken links from the Exchange 5.5 SDK can be found here.