Guest

Cisco Unity Connection

Unified Messaging with MS Office 365 Auto Discovery Process Troubleshoot

Unified Messaging with MS Office 365 Auto Discovery Process Troubleshoot

Document ID: 116641

Updated: Oct 21, 2013

Contributed by Scott Hills and Benjamin Gulan, Cisco TAC Engineers.

   Print

Introduction

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.

Problem

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
     CsEWS: 10,11,12,13
     EWSNotify:All

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,
query:

10:47:02.756 |31923,,,CsExMbxLocator,13,[CsExMbxLocator/CsExMbxLocator.cpp:192] Test
Button result: Failed connected to Exchange CAS server at
(https://mycompany.mail.onmicrosoft.com/autodiscover/autodiscover.xml)
10:47:02.756 |31923,,,CsExMbxLocator,13,[CsExMbxLocator/CsExMbxLocator.cpp:1116]: HTTP
request: GET /
https://autodiscover.mycompany.mail.onmicrosoft.com/autodiscover/autodiscover.xml /

Solution

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.

Updated: Oct 21, 2013
Document ID: 116641