I am using Auto discover service Url for a specified e-mail address.
ExchangeService Service = new ExchangeService(ExchangeVersion.Exchange2010);
Service.Cr
try to use this:
Service.Credentials = new WebCredentials("john", "12345678", "MYDOMAIN");
NOT this one
Service.Credentials = new WebCredentials("john@mail.com", "12345678", "MYDOMAIN");
notice the username is 'john'
NOT 'john@mail.com'
,It blocked me for quite a few hours for using the second one....