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 :
Power Platform Community / Forums / Power Automate / Get Items Returned Dup...
Power Automate
Unanswered

Get Items Returned Duplicates

(2) ShareShare
ReportReport
Posted on by 12

This is a pretty strange one that I've not been able to replicate.

 

My Flow is pretty big and does quite a lot.  Essentially it gets items from a SharePoint list, does some calculations, creates items in another list, gets those items and creates a CSV file.

 

In Get Items step before creating the CSV I have a run that has returned 199 items, but there was only 197 items in the list.  On checking the Outputs from the Get Items step I found 2 duplicate items (i.e. the same internal ID). 

 

I have run the flow again and it didn't happen, but the fact that it has happened is causing some concern and I'm trying to find some kind of explanation as to why it happened.

 

Has anyone had anything similar or any suggestions as to why it might have occurred? 

 

Thanks in advance...

Categories:
I have the same question (0)
  • CFernandes Profile Picture
    8,482 Most Valuable Professional on at

    Hey Mate @JohnnySkye365 

     

     You might want to use the Union() function to bring them both together and result in only the unique rows.

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

  • JohnnySkye365 Profile Picture
    12 on at

    Hey man,

     

    Thanks for getting back to me.  I'm not sure I understand what you are proposing.

     

    I only need to Output of 1 Get Items, to give me all the items in a list.  It is within this Get Items step that the duplicate has been created, there's no duplicates in the list, the function has returned the same item twice.  

     

    Are you suggesting I should do something after the Get Items in case this happens again?

     

    Thanks again....

     

    JohnnySkye

  • CFernandes Profile Picture
    8,482 Most Valuable Professional on at

    Hey Mate,

     

    This is what I was trying to suggest - https://powerusers.microsoft.com/t5/General-Power-Automate/Remove-Duplicates-from-a-Sharepoint-List/td-p/427277 

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

  • JohnnySkye365 Profile Picture
    12 on at

    Ahh I understand now.  The issue isn't duplicates in the list, it's that Get Items returned the same item twice.

  • CFernandes Profile Picture
    8,482 Most Valuable Professional on at

    @JohnnySkye365 Yep - Filter the "Get Items" after you get the items in Power Automate.

  • CFernandes Profile Picture
    8,482 Most Valuable Professional on at

    @JohnnySkye365 Yep - Filter the "Get Items" after you get the items in Power Automate.

  • JohnnySkye365 Profile Picture
    12 on at

    Sorry for the delayed response...

    Surely the Get Items step shouldn't return the same item twice anyway? In this one run, it returned 2 items with the same InternalID.

  • JonBenito Profile Picture
    26 on at

    No solutions yet for this issue? Still experiencing duplicate internal ID till now. Thanks

  • JonBenito Profile Picture
    26 on at

    Think I found a solution, and it worked. Not sure which either of this, but I did (1) turn off Concurrency Control in apply to each and in (2) Get Items, just keep Order by parameter blank. No more dupes after the re-run.

  • panchomx Profile Picture
    6 on at

    Was this issue solved?

    I'm currently facing same issue, whenever I execute the "Get Items" it's retreiving duplicates (for example rows with same SharePoint internal ID), it's not always having this behavior.

     

    Regards,

    Francisco

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 283

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard