I've been trying to make an application that would use the EWS API to access contacts. I have to look one of Outlook's user properities but I can't figure out how to do it through EWS. This is what I tried so far:
service.Url = new Uri("https://url/ews/Exchange.asmx");
service.Credentials = new WebCredentials("credentials");
var results = service.FindItems(folderId, new ItemView(100));
foreach (var item in results)
Contact contact = item as Contact;
foreach (var prop in contact.ExtendedProperties)
It complies and executes fine but for every contact, the ExtendedProperities count is zero (In Outlook, it's about 30). I'm currently using Exchange 2007. Can someone help me here?