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
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
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
EHLO - Minimum permissions necessary to access mailbox data
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
MSDN - Agents tab in Outlook
MSDN - Using the Script Debugger with Exchange Event Service Scripts
...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.