Exchange Web Services Managed API beta available

A week or so ago, the Exchange team announced that they had released the Web Services API for Exchange; this works with Outlook Live which is Exchange 2010 based.

The upshot of all of this is that a load of new developer scenarios open up to our Live@edu customers like programmatically creating appointments, sending automated emails, updating contacts, and more.

There has been some discussion on this over on the Live@edu community group on this thread… I am hoping that there will be a lot more in the coming months as customers start getting to grips with what they can do here.

Jason Henderson from the Exchange team had the following advice to offer to customers on the discussion group:

Some keys to remember when using it:

1. Make sure you first accept the terms of use for the account whose credentials you are using to logon

2. Make sure you call AutoDiscover to find the URL for the specific account that you are using to get the correct URL to use for logon. 

3. Make sure the username is in username@domain.edu format see the code below for an example

//Instantiate the service with Exchange 2007 SP1 schema
ExchangeService Service = new ExchangeService(ExchangeVersion.Exchange2007_SP1);
Service.Credentials = new WebCredentials("jason@contoso.edu", "password");
Service.AutodiscoverUrl("jason@contoso.edu");

//Bind to the inbox folder and retrieve all properties
Folder inbox = Folder.Bind(Service, WellKnownFolderName.Inbox);

//Write out the total # of items in the inbox
Console.WriteLine(inbox.TotalCount);

Special kudos will be given to someone that can provide some code snippets demonstrating how to inject calendar items from a timetabling application into a bunch of student calendars 🙂

Jonny

Advertisements

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: