Open rajayashwanth411 opened 4 years ago
I'm also having the same issue on a new service. Everything works but I keep getting the auto discover error Microsoft.Exchange.WebServices.Data.AutodiscoverLocalException: The Autodiscover service couldn't be located. at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
We are also facing this issue. Did you find a solution for this?
If you are getting 401 after specifying the autod url, it's likely a bad password or your exchange server might have limited EWS access for the account you are using. Try:
$
in it, make sure it's escaped properly when running the tool. We are having the same issue - after testing with https://testconnectivity.microsoft.com/tests/exo the issue appears to due to Basic Auth being deprecated and disabled in our EWS environment. No option to use OAuth as it looks like: https://github.com/microsoft/mail2bug/issues/129
Hi Team,
We were using Mail2Bug tool since long time and having an error The Autodiscover service couldn't be located after password change. we had to change the password and since then we couldn't use mail2Bug code due to autodiscover service. I am able to use same credentials to test the connectivity without issues using the new password. When I run through the code we are getting error as "The Autodiscover service couldn't be located".
I tried to avoid autodiscover call and pass the service URL instead but getting error as UnAuthorized user with 401 code where I am able to login to the service using the same credentials.
Can some one help...!