How to install EWS managed API 2.2 on Exchange 2016

Roger Roger 7,181 Reputation points
2024-08-05T12:33:42.93+00:00

I want to install Microsoft.Exchange.WebServices on a virtual machine that has Exchange 2016 management tools installed. Specifically, I want to install Exchange WebServices 2.2 for Exchange 2016. The VM has .NET Framework installed. I have gone through the article linked below, but I am not sure how to install because I will be using Exchange WebServices in my PowerShell scripts.

https://www.nuget.org/packages/Microsoft.Exchange.WebServices/2.2.0

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,188 questions
Exchange | Exchange Server | Development
Exchange | Exchange Server | Management
Exchange | Hybrid management
Exchange | Other
{count} votes

Accepted answer
  1. Andy David - MVP 157.8K Reputation points MVP Volunteer Moderator
    2024-08-05T13:06:18.22+00:00

    You dont need to install that. If Exchange is installed, EWS is already enabled on the server. Run your scripts against that .


2 additional answers

Sort by: Most helpful
  1. Roger Roger 7,181 Reputation points
    2024-08-05T18:31:19.55+00:00

    i have just installed exchange management tools on this VM, when the script is trying to execute from this VM it is looking for exchange web services path.

    0 comments No comments

  2. Roger Roger 7,181 Reputation points
    2024-08-06T19:57:13.55+00:00

    can anyone assist me installing Exchange WebServices 2.2 on a VM which has exchange 2016 management tools.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.