Exchange Version:
2010 SP2
API Name:
Exchange Webservices
API Version:
2.0
IDE:
Visual Studio 2013
Hello,
I'm working on a C# application which has to connect to our Exchange Web Services and do some things like reading and sending emails.
However, when the appliaction is started by a "normal" unprivileged user trying to read his own inbox, I get the following error message (Microsoft.Exchange.WebServices.Data.ServiceRequestException):
"The request failed. The underlying connection was closed: Unable to connect to the remote server."
When the application is started as a privileged user using my unprivileged credentials in the code, I am able to read my inbox.
When using Powershell instead of my C# application to connect to EWS, I don't need to "run as administrator".
Does anyone have an idea what's going wrong here?
Best regards,
Michael