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 / Flow creates duplicate...
Power Automate
Answered

Flow creates duplicate records in Sharepoint

(0) ShareShare
ReportReport
Posted on by

Hello everyone,

 

I was trying to create a flow to automate creation of Sharepoint list items from flagging emails in outlook.

 

It worked well with me through the  below steps:

 

amahasheer_0-1617652480093.png

 

However, I noticed some duplication of records, therefore, I tried to manage this issue by fetching the email conversation ID in each share point item in order to use this field as a validation through standard condition as per below flow:

 

amahasheer_1-1617652725697.png

 

 

Unfortunately, this did solve my issue but make situation worst 😅 as I ended up with more duplications. 

 

amahasheer_3-1617653036887.png

 

 

Could anyone tell me what's did i do in this automation? and what is the best way to prevent such duplications?

 

 

Best regards, 

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @amahasheer,

     

    You should modify the Power Automate process, to let the logic like If the Issue ID does not exist in the SharePoint list, create an item, or update the corresponding item with the same issue ID. Now you could delete these duplicate items and follow steps as below:

    1. Get items to find item with Issue ID equals to conversation ID;

     

    IssueID eq '@{triggerOutputs()?['body/conversationId']}'​

     

    2. Use length() function check if the return number of items equals to 0:

     

    length(outputs('Get_items')?['body/value'])

     

    3. If yes, create item, or update item

    Screenshot 2021-04-06 101602.jpg

     

    Screenshot 2021-04-06 101653.jpg

     

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi,

     

    I have the same problem. But  I can't find the solution.

     

    I made a Microsoft forms with a flow to Microsoft list a couple of months ago. 

    Since a month we receive our forms answers dubble in our Microsoft list.

     

    Can anyone help me to fix it?

     

    This is my selfmade flow with the help of youtube. It works very well but since a month we receive duplicates…

    stefaniebuysse_0-1658302935830.pngstefaniebuysse_1-1658302973497.png

     

     

    stefaniebuysse_2-1658303007643.png

     

  • elvinvaz Profile Picture
    9 on at

    I followed the steps but I am still receiving duplicates, why is this?

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 630

#2
Valantis Profile Picture

Valantis 420

#3
11manish Profile Picture

11manish 350

Last 30 days Overall leaderboard