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 / Archive sharepoint ite...
Power Automate
Answered

Archive sharepoint items - Methodology, solution

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello!

 

Do you have any idea, solution for below?

 

I have a sharepoint list as database for my powerapp. I would like to create a flow what is count the items within the SP list and if it reaches the 400 pieces moves these 400 items to an another SP list and delete these 400 pieces items from the original one

 

Thank you

Categories:
I have the same question (0)
  • eric-cheng Profile Picture
    5,171 on at

    Hi @Anonymous ,

     

    This is the basic structure of a flow to do what you are after.

     

    1) Get Items and specify to order by Created and limit to 400 items

    2) For each returned item, you will need to create it again in the new list

    3) Delete the returned item that was just recreated

    4) Rinse and repeat in the loop

     

    ericcheng_1-1632099249145.png

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you! Forks like a charm! One additional question? How can I move the attachments as well? 

  • Verified answer
    eric-cheng Profile Picture
    5,171 on at

    Hi @Anonymous ,

     

    In the loop and after the Create Item but before the Delete Item, use the below two actions

     

    Get Attachments - from old list item

     

    ericcheng_0-1632135970477.png

     

    Add attachments - to new list item

    ericcheng_1-1632136024177.png

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

     

     

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 304

#2
David_MA Profile Picture

David_MA 245 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 243 Most Valuable Professional

Last 30 days Overall leaderboard