Optimized Meeting Scheduling with Exchange 2010 and Exchange Web Services

This code sample demonstrates how to use Microsoft Exchange Web Services (EWS) Managed API to implement an application that automates the booking of a meeting based on attendees and the conference room availability.
  • Version:


    File Name:


    Date Published:


    File Size:

    392 KB

      With Exchange Server 2007, Microsoft introduced a brand new, unified API based on standards such as SOAP, XML, and HTTP. This API, known as Exchange Web Services, has since evolved in Exchange 2007 SP1, SP2, and now Exchange 2010 to become the most powerful and feature rich API ever available for developing applications against Exchange. In fact, in Exchange 2010 Microsoft has removed support for legacy APIs such as WebDAV and CDOEx; EWS is now the only programming interface available to developers.

      This code demonstrates how to use Exchange Web Services to completely automate the booking of a meeting, thanks to two key EWS features. The first of these features is the little known, yet very powerful capacity of the GetUserAvailability EWS method to suggest meeting times based on the availability of attendees. The second, introduced in Exchange 2010, is comprised of two EWS methods (GetRoomLists and GetRooms) that allow for the retrieval of room lists, which are special Active Directory distribution lists that contain Active Directory room resources. Room lists can represent any group of rooms (such as buildings) and the rooms in those room lists.
  • Supported Operating System

    Windows 7, Windows Vista

      This code sample requires the following:
      • An Exchange 2010 Server.
      • The proper setup of the Autodiscover service.
      • Exchange Web Services.
      • The EWS Managed API.
      • The existence of at least one room list and at least one room in that room list.
      • At least one Exchange user account (to connect to EWS).
      • A set of calendar items defined on the users’ calendars (this demo makes most sense when user calendars are busy).
      1. Click the Download button on this page to start the download.
      2. Do one of the following:
        • To start the installation immediately, click Open or Run this program from its current location.
        • To copy the download to your computer for installation at a later time, click Save or Save this program to disk.
Site feedback

What category would you like to give web site feedback on?

Rate your level of satisfaction with this web page today: