none
Do i need to do EWS Autodiscover always? RRS feed

  • Question

  • Instead can i simply fill my credentials and endpoint url in ExchageService object and perform EWS request ?

    Will this work always?

    m_EXWebService = new ExchangeService();

    m_EXWebService.Credentials = new WebCredentials(EmailAddress, Password");

    m_EXWebService.Url = new Uri("https://outlook.office365.com/EWS/Exchange.asmx");     m_EXWebService.AutodiscoverUrl(EmailAddress, RedirectionUrlValidationCallback);

    Regards,

    kishore

      
    Thursday, June 8, 2017 11:04 AM

All replies