Exchange Impersonation in Service Account: Autodiscover service couldn't be located

人走茶凉 提交于 2019-12-01 21:27:34

I solved the problem, and guess what the problem is: it's the user account.

EWS uses the given credentials to authenticate itself for access to the Autodiscover service at

http://mydomain/AutoDiscover/AutoDiscover.xml

The credentials were correct, but it seems that for accounts set to "user has to change password on first login", access to the autodiscover service is denied. I changed that setting in AD and now it works.

If this is a local domain, try using mydomain rather than mydomain.com

I found that .com or .local didn't work for me.

If it is an Office365 server, use null or string.Empty for the domain.

i added following lines in host file & it worked for me;

192.168.32.43       mail.mydomain.com            
192.168.32.43       autodiscover.mydomain.com
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!