'Autodiscover service couldn't be located' when trying to access Exchange 2010 account with EWS MANAGED API

前端 未结 11 1539
臣服心动
臣服心动 2020-12-28 12:32

I am using Auto discover service Url for a specified e-mail address.

ExchangeService Service = new ExchangeService(ExchangeVersion.Exchange2010);
Service.Cr         


        
11条回答
  •  感情败类
    2020-12-28 13:30

    I have used direct:

    Url = new Uri("https://outlook.office365.com/EWS/Exchange.asmx")
    

    and it worked for me. You may try use Fiddler and eM Client to see how they use EWS Managed API to get things done and replicate calls.

提交回复
热议问题