web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

How to Eliminate duplicate items using power automate ?

(1) ShareShare
ReportReport
Posted on by 440
Hi All,
 
I have a requirement, where I need to find the duplicate contact from dynamics and need to send the list of duplicate contacts to user.
 
All I have done, through the logic like first I have sort the output of list rows and then comparing(email column) second row to first and third to second and fourth to third and so on. So like this I got Unique and Duplicate contacts list.
 
 
 
 
But issue is that, Like I need to the all duplicate itmes inside the duplicate list but here it is giving one item in unique list and rest of the duplicate item in duplicate list.
 
for example: Array=[A,A,A,B,B,C,C,D,E] then  it is giving
 
Unique Array=[A,B,C,D,E]
Duplicate Array=[A,A,B,C]
 
But It should be 
Duplicate Array =[A,A,A,B,B,C,C]
Unique Array=[D,E]
 
Can someone please suggest me a way to achieve this ?
I have the same question (0)
  • Suggested answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    Hi Partner,
    You can just use two nested 'List rows' steps to achieve the purpose.
    Please refer to the following steps:
    1.List rows:
    Note: click “Settings”, activate “Pagination” and set the “Threshold” to the maximum allowed value of 100,000. If you don’t take this step, your Flow will only check 512 records by default and probably won’t catch all of your duplicates.
    2.Variabe to store the number of return contacts

    3.Condition:

    4.Update 'isduplicate' flag of the contact:

    Then you can use this flag to specify records are duplicate or unique.
    More information:

    I hope you can mark my answer verified if it is helpful! If you have any questions, please feel free to contact me.
    Regards,
    Leah

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Nagaraju_Matta Profile Picture

Nagaraju_Matta 121

#2
ManoVerse Profile Picture

ManoVerse 71 Super User 2026 Season 1

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 66 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans