Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Filter out duplicate records with azure data factory before importing into Dynamics 365 user table

(0) ShareShare
ReportReport
Posted on by 20

Hi,

I am looking to use Azure Data Factory to import a number of users from a third party source CSV file into the D365 user table/entity. This is usually straight forward but on this occasion I have a complication. The D365 users table/entity is already populated. The source CSV user file will have a mixture of users that are already in the D365 table/entity and others that are not.

What I would like to do is ensure the users in my source file that are already in the D365 table are not copied over as this would create duplicates.

Source CSV FILE

pastedimage1656513931614v1.png

Existing D365 User table (subset of fields just to illustrate) 

pastedimage1656514258693v2.png

Updated D365 table with two new record added from source csv 

pastedimage1656514316312v3.png

From what I can see there are two possible solutions in Azure Data Factory

1) Configure the D365 sink to do it. e.g configure the sink in order to ignore records that match on a certain column? Is it possible to configure the sink in some way to accomplish this?

2) Pull in the D365 table/entity as a source and use it to filter my source CSV to remove user records that already exist in D365 perhaps by using a common field such as fullname to identify such records. This would ensure I only try to import new users.

I have had a look into both methods but have been struggling to find a way to implement them.

I'd like to think the scenario I have outlined above is not uncommon and there are tried and tested methods to filter out records from a source CSV that already exists in the target D365 table?

I'd appreciate any help/suggestion to help me achieve this. Thanks

  • AndrewMacInnes Profile Picture
    20 on at
    RE: Filter out duplicate records with azure data factory before importing into Dynamics 365 user table

    Thanks for the feedback.

  • Community Member Profile Picture
    on at
    RE: Filter out duplicate records with azure data factory before importing into Dynamics 365 user table

    Hi AndrewMacInnes,

    Maybe you can refer the following link:

    Find duplicate records with Azure Data Factory (same source file) – Eax360 

    https://www.youtube.com/watch?v=JK50gtmoUSo 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Adis Profile Picture

Adis 136 Super User 2025 Season 1

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 81

#3
Jonas "Jones" Melgaard Profile Picture

Jonas "Jones" Melgaard 77 Super User 2025 Season 1

Product updates

Dynamics 365 release plans