Article ID: 519
Last updated: 03 Nov, 2022
Customers have asked why duplicate contacts appear in user's email address books after Riva sync has been enabled. This article explains nine of the most common scenarios involving duplicate contacts and provides best practices to avoid, reduce, and correct issues with duplicate contacts. Duplicate Contact ScenariosThe following scenarios can generate duplicate contacts:
Scenario 1 - Pre-Existing Contacts in Email Address BooksIf a user has pre-existing contacts in their email address book that match contacts in the CRM, when Riva performs an initial sync, Riva creates a copy of the CRM contact in the target user's email address book. When composing an email or viewing all contacts alphabetically in a list view, duplicate contacts will be discovered. Remember that Riva does not always sync all contacts from the CRM to the target user's email address book. The Riva sync policy includes date/time, security, and organic filters that can prevent some of the CRM contacts from being synced to the target user.
Sometimes duplicates are created (pre-existing contact and Riva-synced contact) and sometimes only pre-existing contacts exist in the target user's email address book. Removing all pre-existing contacts from the user's email address book is not a recommended practice unless all CRM contacts will be synced to the target user. Best practice tipsAfter the Riva sync cycle, list all contacts in an alphabetical view. Riva-synced contacts will be categorized with the Riva category name specified in the Riva sync policy. Users can choose to:
Scenario 2 - Pre-Existing Duplicate Contacts in the CRMMost CRM systems permit the creation of duplicate contacts. If duplicate contacts for the same individual exist in the CRM, Riva syncs existing duplicate contacts to the target user's email address book. Remember that Riva does not always sync all contacts from the CRM to the target user's email address book. The Riva sync policy includes date/time, security, and organic filters that can prevent some of the CRM contacts from being synced to the target user. Riva syncs duplicate contacts that match the conditions of sync policy filters.
Best practice tipsBefore Riva's initial sync, an effort should be made to clear (remove or merge) duplicate contacts in the CRM. This greatly reduces unnecessary data sync and reduces the chance for the apparition of duplicate contacts in user email address books. If duplicate contacts are required, ensure that contacts are assigned to (owned by) the correct individual in the CRM, and consider using "Filter by: Must be Owner" in the sync policy. (For more information, see Configure a sync policy - Address books) and organic contact filters. For SugarCRM systems, Riva also supports Sync to Outlook configured in the Riva connection to the SugarCRM system. After the Riva sync cycle, list all contacts in an alphabetical view. Riva-synced contacts will be categorized with the Riva category name specified in the Riva sync policy. If users spot duplicate contacts synced from the CRM by Riva, recommended corrective action includes:
Do not remove duplicate CRM contacts from the Outlook address book. This may result in sync errors. Make contact adjustments in the CRM.
Scenario 3 - Riva Syncs a New Contact to the CRM and Creates a Duplicate ContactThe user creates a new contact in their email client address book, which is then categorized to sync to the CRM. Riva syncs the new contact to the CRM (without checking for a match in the CRM) and potentially creates a duplicate contact assigned to (owned by) the creating user. On the next sync cycle, Riva syncs that new contact (even if it is a "duplicate" contact) to all the other target users specified in Riva sync policies. In those environments where access to contacts in the CRM is controlled by using Teams, Groups, or Roles, it is possible for the user to not "see" an existing contact in the CRM. If the user cannot see a contact, Riva cannot see that contact for that target user. Riva impersonates a CRM user and uses the effective access permissions assigned to the user in the CRM. Consider these two common examples:
Possible best practice optionsIf this is a consistent issue, consider configuring the Address Book settings in the sync policy to.
(For more information, see Configure a sync policy.) Scenario 4 - Users Are Using CRM Plug-ins for Outlook and Riva at the Same TimeUsers are running a CRM Outlook plug-in and are being synced by Riva at the same time. Riva is not aware of any other 3rd party sync product or process that can be creating contacts. If a plug-in normally auto-creates a new contact made in Outlook and Riva normally auto-creates a new contact made in Outlook, then each process will sync the same new contact to the CRM, which then may be resynced as a new contact by the other sync solution back to Outlook. Example:
Best practiceAs a best practice, we recommend that all other 3rd party CRM sync mechanisms, like Outlook plug-ins, be disabled and/or uninstalled for target users being synced by Riva. Question: Can Riva co-exist with Outlook plug-ins or other CRM sync mechanisms? Answer: Yes, but it takes careful consideration, planning, and testing. Essentially, ensure that the modules that other CRM sync mechanisms sync between the CRM and the user's email account are not enabled in Riva. For more information, see Preventing duplicates: Working with Outlook plug-ins and Riva. Scenario 5 - User Is Assigned to Two Different Riva Sync Policies at the Same TimeA target user is assigned to two different Riva sync policies in the same Riva server. Riva treats both user assignments as unique: in effect, you end up syncing the same user twice, which creates a situation similar to Scenario 4. Best practice
Scenario 6 - User Is Assigned to Riva Sync Policies on Different Riva ServersA user is assigned to a Riva sync policy on two different Riva servers. In effect, the same target user is synced twice, which creates a situation similar to Scenario 4. Best practicesScenario 6 occurs most commonly when
Scenario 7 - CRM Has a Contact and a Lead for the Same ContactSome CRMs support creating contacts for leads. Some CRMs retain leads as leads even after those items are converted into accounts/organizations and contacts. Under those conditions, if the Riva sync policy is configured to sync both contacts and leads, it may appear that there are duplicate contacts created by Riva in the Exchange/Outlook address books. This is considered a normal circumstance. Since email clients cannot distinguish between a contact or a lead, Riva syncs leads as contacts but assigns them to a different category. In Outlook, if contacts are viewed by category, you can see the difference. In GroupWise, leads and contacts are synced into separate address books. Best practicesSome recommended best practices include:
Scenario 8 - User Is Moved Between Sync Policies ImproperlyUsers can be removed from one sync policy and added to a different sync policy. Unfortunately, depending on how the gaining sync policy is configured, Riva sync may react differently.
There are proper methods to move users between sync policies that minimize the creation of duplicate items and preserve data sync between the CRM and the email system. Always follow the recommended procedures to move users between sync policies.
Example 1 - User moved to sync policy with same category namesIn this example, a user is removed from Losing Policy and added to Gaining Policy. Both sync policies use identical category names for all modules (for example, address book, calendar, and tasks). In this situation, when a user is removed from the Losing Policy, Riva retains the transactions for that user against that policy. When the user is added to the Gaining Policy, a new set of transactions records are started against the gaining policy. Riva runs an initial sync against the target user's mailbox. Because Riva discovers items that are already categorized with Riva category names, Riva creates "Lost & Found" folders and moves those pre-categorized items to "Lost & Found". This is done to prevent Riva from syncing duplicate items to the CRM. Riva then syncs a fresh set of contacts, appointments, tasks, opportunities, cases, etc. to the target user's mailbox. The email address book now contains two set of contacts for each Riva-synced CRM contact: the fresh set and the "Lost & Found" set. Correct Procedures
Example 2 - User moved to sync policy with different category namesIn this example, a user is removed from Losing Policy and added to Gaining Policy. Each sync policy uses different category names for all modules (for example, address book, calendar, and tasks). In this situation, when a user is removed from the Losing Policy, Riva retains the transactions for that user against that policy. When the user is added to the Gaining Policy, a new set of transactions records are started against the gaining policy. Riva runs an initial sync against the target user's mailbox. Because Riva does not discover items with the same category names, Riva syncs a fresh set of data and categorizes it by using the new category name down to the target user's mailbox. In the email address book, each Riva-synced CRM contact is now found in two set of contacts:
Correct Procedures
Example 3 - User moved back to the sync policy it was previously assigned toIn this example, a user is removed from Losing Policy, added to Gaining Policy(with the same category names), then removed from the Gaining Policy and returned to the Losing Policy. In this situation, when a user is moved from the Losing Policy to the Gaining Policy, Riva performs in the same manner as in Example 1. When the user is removed from the Gaining Policy and added to the Losing Policy, Riva does not try to perform an initial sync, because the Losing Policy already has transaction data for that user. Instead, because Riva sees new contacts that are properly categorized, Riva syncs those contacts to the CRM, thus creating duplicates in the CRM. On the next sync cycle, Riva syncs those new duplicate contacts to the rest of the target users defined in all affected sync policies, thus creating duplicate contacts in the target user email address books. Corrective Procedure: If this happens, STOP the Riva CRM Sync Agent immediately. For assistance with cleaning the CRM and Exchange systems, contact the Riva Success Team. Scenario 9 - SmartConvert Converts an Email and Creates Duplicate ContactsIf Riva SmartConvert is configured to create new accounts and contacts, there are cases where Riva automatically creates new accounts and/or new contacts (perceived to be duplicates) in the CRM, which sync back to the target user's Exchange address book. Three cases include:
Best practicesFor explanations on how to resolve each case, see Preventing Riva On-Premise from creating unwanted accounts and contacts in the CRM.
Article ID: 519
Last updated: 03 Nov, 2022
Revision: 5
Views: 59
Also read
Also listed in
|