Skip to content
DataUntangler
Buy the plan

One file free to try, no card. Already have an account? Log in.

Salesforce to Dynamics 365 Migration Without Duplicate Contacts

A Salesforce to Dynamics 365 migration moves the duplicates you already have. Here is what to clean in the Salesforce export before the import, with a real twelve row run, its false group and its misses.

Published 21 November 2026 6 min read Written by the DataUntangler team

A Salesforce to Dynamics 365 migration copies the org as it stands. Whatever sits in Salesforce, including the same buyer saved three times under three spellings of the company, arrives in Dynamics as three contacts. Dynamics can check for duplicates during an import, but only against the rules you have defined and only on the fields those rules name. The cheapest moment to fix the data is the export file, before the cutover date makes every correction urgent.

Most teams treat the migration as a mapping job: which Salesforce field goes to which Dynamics column. The mapping matters, but it is the smaller risk. The larger one is that a Salesforce org that has been running for five years holds a few percent of contacts twice, and a migration is the first time anyone sees them side by side in a new system with new owners.

What moves from Salesforce to Dynamics 365, and where duplicates hide

The objects map in a familiar way. Salesforce Leads become Dynamics Leads, Contacts stay Contacts, and Accounts stay Accounts. The mapping does not change who a person is, so a contact entered twice in Salesforce is two contacts in Dynamics. The table shows where each pair comes from.

Salesforce object Dynamics 365 table Where duplicates come from What a rule on email misses
Leads Lead Web form, trade show and webinar loads Work and personal addresses of one person
Contacts Contact Manual entry and old imports A second email, a spelling variant of the surname
Accounts Account Company typed with and without a suffix Boyle & Sons and Boyle and Sons LLC
Opportunities Opportunity Rarely duplicated, but attached to a duplicate account Deals split across two copies of one company

Microsoft documents duplicate detection in its Power Platform admin guide. Rules compare fields you choose, and detection also runs during data import, where you choose whether to check. That is useful, and it is also why a file with the duplicates already inside it deserves a pass of its own: the rule fires on a match, not on a near match. The field by field logic is described on the Dynamics 365 duplicate detection page.

What a real Salesforce contact export looks like after the pass

We built a twelve row Salesforce contact export with the columns Contact ID, First Name, Last Name, Account Name, Email, Phone, Mailing State/Province and Created Date, with the kind of variation a five year old org carries, and ran it through the same engine that is on the tool at the top of the site.

Rows in the file What they had in common Result Confidence
Wendell Okafor, two records Same name, company with and without Inc, same phone, two emails One group For review
Lucia Marchetti, two records Same email, same company One group Likely
Nadia Petrov and Nadia Petrova Same email, one surname letter apart, one has no phone One group Likely
Colin Hargrove, two records Same name and phone, two different firms and emails One group, perhaps two roles For review
Terrence and Terry Boyle Close name, company with and without LLC, phone one digit apart Not matched Missed
Yusuf Aydin, Marta Silva Single records No change None

Three of the four groups are plain duplicates the Salesforce org never merged. The Okafor pair is the one that matters for a migration, because two emails would load as two Dynamics contacts, each with its own activity timeline. The Hargrove group is the one to read before approving. The same man appears at Hargrove Capital and Hargrove Partners with the same phone, which can be one person with two roles. The engine flags it for review rather than merging it, and that is where a human decision belongs.

The Boyle pair is the honest miss. Terrence and Terry, an ampersand and the word and, a phone number one digit apart and two different emails together defeated the match, and an engine that said otherwise would be guessing. Sort the cleaned file by company before you load it and the pair is easy to see. The same pass also made eight changes, seven state names rewritten to two letters and one date put in a single format, which is the part of a migration file that usually fails the load.

How to clean Salesforce data before moving it to Dynamics 365

  1. 1 Export from Salesforce. Run a report on Contacts, or use Data Loader, with the Contact ID, name, account name, email, phone, mailing state and created date columns. Do the same for Accounts and for Leads.
  2. 2 Leave the owner columns out of the copy you clean. A staff name column can be read as part of the person key and hide a duplicate that two reps entered. Add the owner back from the original export after the pass.
  3. 3 Load the contacts file into the tool at the top of the site. Nothing uploads, the file is matched inside your browser tab. Approve the groups that are one person, reject the ones that are not, and pick the surviving row.
  4. 4 Do Accounts next, because the account decides where contacts attach. The audit log names the Contact ID kept and the IDs merged into it, so contacts that pointed at a merged account can be repointed in the file.
  5. 5 Import into Dynamics in the order Accounts, Contacts, Leads and then Opportunities, with duplicate detection turned on for the import. Compare the record count per table with the cleaned file before anyone starts working in the new system.

If you are heading the other way, or staying put

DataUntangler does not connect to Salesforce or to Dynamics, and it does not run the migration. It takes the exported files, proposes every duplicate group and every format fix, and returns a cleaned file with an audit log. If the same org stays on Salesforce, the standing cleanup of an old org is covered in Salesforce deduplication, and a Salesforce admin going the other way will find the path into HubSpot in Salesforce to HubSpot migration.

For a project with a date attached, the sequence that holds up is the one above. Export, clean once, review the audit log, import with detection on, and keep the log until the first month of work in the new system has passed, because the first question from a rep is always where a contact went.

The file is still messy after the article

Load it into the demo and see every duplicate, every broken date and every mangled character as a line you can approve or reject.

No card required. Your file never leaves your computer.

Clean a file