Using Exchange Web Services on Exchange Server 2010, I need to look up a user’s primary SMTP address using a secondary e-mail address.
I’m trying to use ExchangeService.ResolveName(emailAddress). But, ResolveName() does not seem to match secondary e-mail addresses to primary ones. If I pass in the user’s first and last name, then it finds the primary address. But, I need to be able to match using secondary e-mails.
Am I doing something wrong? How can I match a secondary address to a primary one?
Thank you,
Tedderz
See http://www.infinitec.de/post/2009/04/13/Resolving-the-primary-email-address-with-Exchange-WebServices-ResolveNames-operation.aspx.