locked
Autodiscover could not be located RRS feed

  • Question

  • Hi,

    I am using EWS Services for working with Office 365 Mailbox.

      EWSService.AutodiscoverUrl(User, RedirectionUrlValidationCallback);

    Is giving the "Autodiscover could not be located.".

    RedirectionUrlValidationCallback returns back the following two URLs.

    "https://autodiscover-s.outlook.com/autodiscover/autodiscover.xml"

    and 

    "https://cpanelemaildiscovery.cpanel.net/autodiscover/autodiscover.xml"

    Friday, October 2, 2020 6:20 PM

All replies

  • Hi shital,

    Thank you for posting here.

    Based on my research, I find that you can check if the credentials and network has the problem.

    Also, you need to note that we should enable tracing on the ExchangeService.

    For more details, you can refer to The Autodiscover service couldn't be located.

    Best Regards,

    Jack


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, October 5, 2020 8:08 AM