Configuring Riva Sync for Riva Insight

Curtis Massie
Curtis Massie
  • Updated

Riva Sync App

NOTE: The Track State Service URL is the Riva Insight URL, including the port and base path, followed by /api/trackstateservice.
Format: https://{fqdn}:{port}{BasePath}/api/trackstateservice
For example: https://my.riva.com:5001/insight/api/trackstateservice
Leave out :{port} if Insight is reached on port 443, for example through a load balancer.

  1. Open the Riva Sync configuration file
    1. This file can be found in the RivaSync/Application/Runtime folder
    2. Depending on your version of Sync, you will have to edit the config file for either the 64-bit or 32-bit version   i.e. Omni.Riva.CrmAgentEx.exe.config  or Omni.Riva.CrmAgentEx64.exe.config
  2. Add the following connectionString to the config:
    • <add 
        name="Insight.TrackStateService" 
        connectionString="Uri={TssUrl};PrivateKey={PrivateKey};PublicKey={PublicKey}" 
        />
  3. Update the connection string with the following values:
    1. Replace {TssUrl} with your TrackStateUrl
    2. Replace {PrivateKey} and {PublicKey} with the same Private and Public keys set in the Vigo.Jwt connection string in Riva Insight (see Riva Insight On-Premises Setup Guide). The keys must match exactly.

 

Riva Sync

  1. In the Riva Sync Policy Advanced Options, 
    1. Ensure the DefaultUrl is present and points to a valid insight Url. e.g. https://my.riva.com/insight/
      • Sync.Crm.SyncConfiguration.Insight.DefaultUrl = {InsightEndpoint}
    2. Enable the Track State Service
      • Sync.Crm.TrackStateService.Enabled = true
  2. Restart the Riva Sync Service after making the change.

 

Verification

  1. After making the changes in Riva Sync 
    1. Ensure the mailbox(es) goes through at least one sync cycle
    2. Verify logs to confirm no Track State Service errors
  2. Close and re-open Outlook (to force download of Sync Configuration)
  3. Log out and back into Riva Insight (to pick up the latest settings)
  4. Go to the Insight About page to verify TSS has been enabled: