Hey guys,
My group has developed a plugin architecture that involves searching for information within Exchange. We have recently expanded this to other platforms and decided we would just see what happens if we run all of our automated tests on OSX. To our surprise, all of the tests passed. I should mention that we use an internal Exchange server for all integration tests.
But when we switched the automated tests over to an office 365 exchange server, we experienced errors.
System.Web.Services.Protocols.SoapException : The request is invalid.
The stacktrace has a little more info but this happens the moment you try to connect via EWSClient.GetEWSClient. Since we know that the same code actually works for non-365 exchange servers, we think this could very well come down to just a configuration issue within OSX itself. I should mention that we construct a NetworkCredential object specifying the username and password, where the username format is "name@domain" I did an experiment where I provided the domain as the 3rd parameter to NetworkCredential and it didn't make any difference.
Does anybody have any idea what that might be happening? I realize this may not be supported out of the box but I can't see any reason why this isn't working only for 365.
Regards,
Scott