Troubleshooting Office 365 Calendaring Integration

Troubleshooting Office 365 Server Connection Status

You can view the Office 365 server connection status in the Cisco Unified CM IM and Presence Administrationwindow after configuring the Exchange Presence Gateway for Office 365 server calendaring integration under Presence > Gateways. The Office 365 server status area in the Presence Gateway Configuration window reports connection status between the IM and Presence Service and Office 365 server.


Note


  • Before configuring Office 365 as Presence Gateway, upload the required Microsoft certificates to IM and Presence Service. For more information see section Upload Microsoft Certificates to IM and Presence Service.

  • You can configure only one Office 365 server per IM and Presence sub-cluster.

  • You cannot configure EWS server when Office 365 server is already configured.

  • You can update or delete Office 365 server that is already configured.


Test Scenario

Status Description and Recommended Action

Office 365 Reachability (pingable)

The IM and Presence Service successfully reached (pinged) the Office 365 server.

Office 365 Reachability (unreachable)

The IM and Presence Service failed to ping the Office 365 server. The server may not be reachable due to:
  • An incorrect field value.
  • Missing trust certificate of Office 365 server.
  • An issue with the customer's network. For example, cabling.
To resolve this, ensure that the Presence Gateway field contains the correct value (FQDN or IP address) to reach the Office 365 server over the network. The UI does not require the Presence Gateway field value to be the Subject CN value.

If you have connection problems with the Office 365 server, choose Diagnostics > System Troubleshooter to visit the System Troubleshooter in the Cisco Unified CM IM and Presence Administration to implement the recommended solution.

Troubleshooting SSL Connection Certificate Status for Office 365

You can view the Office 365 SSL Connection/Certificate Verification status in the Cisco Unified CM IM and Presence Administration window when you configure the Office 365 server as Presence Gateway calendaring integration from Presence > Gateways.

Test Scenarios

Status Description and Recommended Action

Office 365 SSL Connection/Certificate Verification - Verified

The IM and Presence Service verified the SSL connection with the Office 365 Server. Click View for the certificate details.

Office 365 SSL Connection/Certificate Verification Failed

Description:

One or more certificates that the IM and Presence Service requires to establish a secure connection to the Office 365 server are missing.

Recommended Action:

Complete these steps in the Certificate Viewer to display any missing certificates:

To complete the certificate chain, you must:

  1. Download the missing certificates files from the Microsoft Office 365 Certificate page.

  2. Copy or FTP the missing certificate files to the computer that you use to administer the IM and Presence Service.

  3. Use Cisco Unified IM and Presence OS Administration to upload any of the required missing certificates.

Troubleshooting Tips

  • If the certificates are not available in the Cisco Unified IM and Presence OS Administration > Certificate Management window, you may need to manually download and install the missing certificates from the Microsoft Office 365 certificate page, and upload these certificates in Cisco Unified IM and Presence OS Administration as follows:
    • Log in to the Cisco Unified IM and Presence OS Administration user interface.

    • Choose Certificate Management and upload necessary certificates as cup-trust and tomcat-trust.

  • You must restart the Cisco Presence Engine, Cisco SIP Proxy, Cisco Tomcat services on IM and Presence Service after you upload Microsoft Office 365 trust certificates.
  • Once you successfully import the certificates, verify the Office 365 SSL Connection/Certificate Verification status is updated to verified. Click View to check the certificate chain.

If status still shows Verification Failed, we recommend that you review the debug log files for more information.

Office 365 SSL Connection/Certificate Verification - Network Error

Description:

The IM and Presence Service cannot verify the SSL connection due to some network issues, for example, a no-response timeout.

Recommended action:

We recommend that you verify the network connectivity to the Office 365 server and ensure that the Office 365 server is using the correct Presence Gateway address.