This document describes a problem encountered where the Auto Discovery process does not work when Cisco Unified Messaging is used with Microsoft (MS) Office 365.
When you attempt to configure Cisco Unified Messaging with MS Office 365, you populate the Search for Hosted Exchange Servers field with mycompany.mail.onmicrosoft.com as the site URL. However, when you click the Test button, none of the tests return successful results.
In order to collect additional information, you must enable additional traces under the Cisco Unity Connection Serviceability webpage. In order to complete this, navigate to Trace > Micro Trace, and enable:
CsMBXSync: 02, 10, 11,13,14,15,19,20,22,23
Use the Real Time Monitoring Tool in order to collect these traces from the timeframe that you run the test on the user:
- Connection Mailbox Sync
- Connection Tomcat
These results appear in the logs if there is a failure:
10:47:02.756 |31923,,,CsExMbxLocator,10,[CsExMbxLocator/CsExMbxLocator.cpp:1249]: HTTP
request failed with error: Couldn't resolve host name -- Could not resolve host:
mycompany.mail.onmicrosoft.com (DNS server returned answer with no data), HTTP
status code: 0, for Autodiscovery URL:
https://mycompany.mail.onmicrosoft.com/autodiscover/autodiscover.xml, verb: GET,
10:47:02.756 |31923,,,CsExMbxLocator,13,[CsExMbxLocator/CsExMbxLocator.cpp:192] Test
Button result: Failed connected to Exchange CAS server at
10:47:02.756 |31923,,,CsExMbxLocator,13,[CsExMbxLocator/CsExMbxLocator.cpp:1116]: HTTP
request: GET /
In order to resolve this problem, modify the Unified Messaging configuration: change the data in the Search for Hosted Exchange Servers field from mycompany.mail.onmicrosoft.com to outlook.office365.com.
Save the changes and attempt to run the test again. The problem should be resolved.