I have an ASP .NET MVC web application that authenticates users against an Office 365/Exchange Online repository. Once my application has authenticated the user, I want to retrieve some basic information about the user such as his/her first name, last name, office phone number, etc. I can't seem to find this in the object model of the EWS Managed API 2.0. Does anyone know which class, or classes, provided this data?
0
votes
2 Answers
0
votes
Are you just looking for the DLL? You can grab that from NuGet by searching "exchange managed" and looking for the 2.0 version. Where can I get the latest Microsoft.Exchange.WebServices.DLL? also discusses grabbing it from Microsoft's Downloads section.
From there, you'll be pulling in Microsoft.Exchange.WebServices.Data in your using statement.
If it helps, I've been using Getting started with the EWS Managed API to try to get up and running, too.
-1
votes
you can try EWS Autodiscover. https://msdn.microsoft.com/en-us/library/office/jj900154(v=exchg.150).aspx