Riva CRM Integration - Documentation and Knowledge Base

How to Refresh EWS Connection AutoDiscover Host Data

Article ID: 899
Last updated: 04 Aug, 2015

"Wrong server version" errors may occur after upgrading an Exchange system to a newer version of Exchange even though AutoDiscover is correctly configured for EWS.

Riva Saves AutoDiscover Host Information

When an EWS connection is created and AutoDiscover was used, Riva stores the host information with the connection object.  For user mailboxes that have been upgraded to a newer version, AutoDiscover will route connection requests for those users to a newer version of EWS. Riva cannot determine that the higher version of EWS is now available; hence it directs requests to the host it has recorded when the EWS connection was first created.

EWS Connection Feature to Refresh AutoDiscover Host Information

Riva 2.4.33+ includes a feature that enables the Riva administrator to refresh an existing EWS connection to AutoDiscover the newer version host.  Use this feature if all target mailboxes that Riva will sync to have been upgraded to a newer version.

  1. Launch the Riva Manager application, and select the Setup tab. In the right pane, double-select the EWS connection object.

  2. Type the email address for a target mailbox user that has been upgraded, type the URL for the EWS server, and select Refresh Host.

  3. Save the connection object.


  1. This cannot be used to modify a MAPI connection or convert a MAPI connection to EWS.

  2. If some users have not been upgraded yet, create a second EWS connection using the credentials of a older version mailbox that can impersonate into the older version mailboxes.  Modify the sync policy to remove the older mailboxes and add them back using the new EWS connection for older mailboxes.

Article ID: 899
Last updated: 04 Aug, 2015
Revision: 2
Views: 4523