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 / Copy attachments from ...
Power Automate
Suggested Answer

Copy attachments from SP List2 to SP List1

(0) ShareShare
ReportReport
Posted on by 112

Hi

 

  1. I am having two lists : SP List 1 & SP List 2
  2. SP List 2 will have the attachments with the SP List 1 ID(ID in SP List1 will act as Foreign Key).
  3. In SP List2 , each item will have only one attachment(so duplicate attachments will be there with same SP List 1 ID)
  4. From the power apps, I will send the SP List 1 ID as the trigger to the flow. 

Sathya2_3-1642171256976.png

Here both the items under the Form ID 4 are having same attachments.

We all know that attachments column will not save duplicate files even though we upload n number of same files in attachment data card.

Sathya2_0-1642416916407.png

Sathya2_1-1642416978936.png

Sathya2_2-1642417100378.png

 If the list 2 contains distinct files, the flow is working fine.

 If the list 2 contains any duplicates , distinct files are copied to list 1(operation is done) but the flow fails.

 

Please help me on this.

 

 

 

 

 

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,998 Most Valuable Professional on at

    Hi @Sathya2 

     

    Could you please explain bit more about what error are you getting?

     

    Thanks

  • Sathya2 Profile Picture
    112 on at

    Hi, Thanks for your reply,

     

    1. I am moving the attachment from List 2 to List 1,
    2. If the attachment already exist in List 1,the loop is getting failed.
    3. I need to add a condition control before add attachment action.
  • abm abm Profile Picture
    32,998 Most Valuable Professional on at

    Thanks for your reply. Whats the error you getting?

  • Sathya2 Profile Picture
    112 on at

    Sathya2_0-1642515389619.png

     

  • Suggested answer
    Enthu Profile Picture
    4 on at
    Hi Team, I need your help
    I have two SharePoint list with same item around 900 time in both SharePoint now I want to copy only attachment from list1 to list2 for each project Id  because  Project Id is a unique identifier between both list
    Please assist with any sample flow for power automate and manual trigger flow

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 167

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard