This article explains why Salesforce for Outlook (SFO) data sets have a maximum record limit of 5,000 records per query. If you have more than 5,000 Contacts or records in your Salesforce org, some records may not sync to Outlook, or the records that sync may change randomly each time a sync runs. This behavior applies to both Salesforce Classic and Lightning Experience.
The following workarounds help you reduce your data set size below the 5,000-record limit per query, or help you prioritize which records are included in each sync batch.
In all the above examples, you need to have at least read access to any of these records to be able to synchronize them using Salesforce for Outlook.
If you have Person Accounts enabled in your organization and have more than 5,000 records in Salesforce, the Data Set works differently.
The 5,000-record limit applies to every query (the limit is not necessarily on the number of records ultimately returned). Salesforce for Outlook runs the Account query first to get accounts that match any filter criteria, then runs the Contact query to get Contacts assigned to those accounts that match the Contact filter. If either query hits 5,000 records, the sync returns a random set of 5,000 and some expected records may not be included.
Step-by-step example — An organization has Person Accounts enabled. The Outlook Configuration syncs Contacts as follows:
000384830

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.