I installed Sitecore Connect for Salesforce 2.0.1 and I set up environment using manual for 2.0.1.

However, after starting Pipeline Batch "xConnect Contacts to Salesforce Sync" I get info message that no entities were read from xConnect although I created few contacts in database using xConnect API:

INFO [Data Exchange] No entities were read from xConnect. (pipeline: Read Contacts from xConnect, pipeline step: Read Contacts from xConnect, pipeline step identifier: ef308355-94e3-444c-9f8f-164fe26f3f8a

I checked xDB database and I saw created contacts. After debugging suspicious class I found that xdbContext.Contacts.GetBatchEnumerator() returns TotalCount property 0 which is probably the cause of "No entities..." message.

Any clue why this happens?

  • If you go to Experience Profile, can you see the same contacts? Apr 19, 2018 at 10:18
  • 1
    Also check if contacts are indexed. If there are only anonymous contacts you should set settings to allow indexing them if you need those contacts.
    – Vlad Shpak
    Apr 19, 2018 at 11:29
  • I would bet that the problem is that there are no interations for those users. As you are creating users programatically through xConnect API, try to trigger a goal after your current code. Mark Goal as "IsLiveEvent" to make processing of goal immediate. Follow this documentation to trigger goal -> doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/… Apr 19, 2018 at 18:14
  • @Peter I can't see contacts in Experience Profile. Apr 20, 2018 at 13:59
  • @DionisTakac I thought so. Please follow my last advice and trigger a goal or do som interaction with those contacts. This will show contacts in Experience Profile + enable them for sync. I will create answer when it's working with more details Apr 20, 2018 at 15:56

1 Answer 1


When querying for the contacts, the search usually goes through the xConnect Search role to search the xDB Index. If you are not getting results, you might want to check to make sure that your contacts are in the index.

Checking Contacts

To check if contacts are in the index, you should visit your Solr web admin portal. From there, you would run a query.

The URL will be something like:

... where [] is the URL and port for accessing your Sorl instance and [sc9_xdb] is the name of your xDB Index Core.

Possible issues

If contacts are not in the index, this could be one of several issues:

  1. Your contacts are anonymous and not being indexed. You can update configuration to index anonymous contacts (for testing purposes) or you can identify your contacts.
  2. The search indexing service is not running, or throwing errors, and not updating your index. Check the Search Indexer logs.
  3. Something might be up with your Solr instance, but this is less likely.
  • I would also add default Contact Filter. Probably there are no result by filter.
    – Vlad Shpak
    Apr 19, 2018 at 14:41
  • I already updated configuration to index anonymous contacts. Can you tell me how can I exactly verify that contacts are in the index? Apr 20, 2018 at 15:31
  • I have added details around checking index. Essentially, you need to access your Solr web portal and look at the documents Apr 21, 2018 at 0:20
  • Thank you for letting me know. I checked Solr, my xdb database is empty. Can you tell me where is located Search Indexer log? I checked Search.log inside sc9/App_Data/logs and I haven't found any error, just infos and warnings. Apr 23, 2018 at 8:59
  • 1
    I managed to solve this issue. I had to install everything from the beginning and make sure that "Sitecore XConnect Search Indexer" is running since that was the main problem in my case. @JayS thank you for help. Apr 24, 2018 at 12:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.