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.
- Open the Riva Sync configuration file
- This file can be found in the RivaSync/Application/Runtime folder
- 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
- Add the following connectionString to the config:
<add name="Insight.TrackStateService" connectionString="Uri={TssUrl};PrivateKey={PrivateKey};PublicKey={PublicKey}" />
- Update the connection string with the following values:
- Replace
{TssUrl}with your TrackStateUrl - Replace
{PrivateKey}and{PublicKey}with the same Private and Public keys set in theVigo.Jwtconnection string in Riva Insight (see Riva Insight On-Premises Setup Guide). The keys must match exactly.
- Replace
Riva Sync
- In the Riva Sync Policy Advanced Options,
- 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}
- Enable the Track State Service
Sync.Crm.TrackStateService.Enabled = true
- Ensure the DefaultUrl is present and points to a valid insight Url. e.g. https://my.riva.com/insight/
- Restart the Riva Sync Service after making the change.
Verification
- After making the changes in Riva Sync
- Ensure the mailbox(es) goes through at least one sync cycle
- Verify logs to confirm no Track State Service errors
- Close and re-open Outlook (to force download of Sync Configuration)
- Log out and back into Riva Insight (to pick up the latest settings)
- Go to the Insight About page to verify TSS has been enabled: