locked
EWS operations not found in the package I am working with RRS feed

  • Question

  • I want to use the FindPeople operation referenced in this MSDN page.  But the current package I have installed (Microsoft.Exchange.WebServices 2.2.0 ) is not showing it.  The package works for Exchange 2007 and up, and the Operation is available in 2013, but not in previous versions.

    The Exchange Server I am working with is 2013, but where do I get the right package to install? In NuGet package manager, I see

    • Microsoft.Exchange.WebServices.NetStandard. It fails to install. My project targets .NET 4.5.2 and it does not like that.
    • ExchangeWebServices: tried to use this, but it doesn't have the operations I am loooking for.
    • Microsoft.Exchange.WebServices 2.2.0: see above.

    Please gentle with me as I am new to the whole idea of installing packages to get things to work. But by looking at an MSDN page, how does one know what packages to install? The referenced page above just says Exchange 2013.



    • Edited by profnachos Thursday, October 12, 2017 8:04 PM
    Thursday, October 12, 2017 8:03 PM

Answers

  • Microsoft no longer release updated compiled versions of the EWS Managed API, the code has been released on GitHub https://github.com/OfficeDev/ews-managed-api and is actively maintained so you will need to download and compile a copy of the library from there. 

    The other option is to use WSDL proxy code https://msdn.microsoft.com/en-us/library/office/jj190899(v=exchg.150).aspx

    Cheers
    Glen


    • Edited by Glen ScalesMVP Thursday, October 12, 2017 8:55 PM
    • Marked as answer by profnachos Thursday, October 12, 2017 9:28 PM
    Thursday, October 12, 2017 8:55 PM