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 / Sharepoint Copy Excel ...
Power Automate
Answered

Sharepoint Copy Excel files in main folder only into sub folder and then delete the excel files in main folder.

(0) ShareShare
ReportReport
Posted on by 27

Hi,

I am trying to build a flow where it copies only .xlsx from Shared Documents > Folder A to Shared Documents > Folder A > Archive.

 

I would also like this flow to delete only .xlsx files from Shared Documents > Folder A once it has copied the files

 

I created a flow however it is copying all the files in the Shared Documents > Folder A instead of just files I would like to copy.

threw001_0-1676417248760.png

 

Please can someone point me in the right direction?

 

Thanks

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

    Hi @threw001 ,

    Please add a [Condition] to determine whether the file name with the file name suffix contains xlsx, and if so, copy the file

    vchengfenmsft_0-1676427525966.png

     

     

    Best Regards

    Cheng Feng

  • threw001 Profile Picture
    27 on at

    Thanks Cheng - the only issue I have now is that the 'Copy file' function only allows for current site address which has other files within the 'Shared Documents' file whereby I only want to copy from select folders. Is there anyway around this?

  • v-chengfen-msft Profile Picture
    Microsoft Employee on at

    Hi @threw001 ,

    Do you only want to move files in a certain folder?
    please choose,like  this:

    vchengfenmsft_0-1676438177115.png

    If you want to move to another site, please choose this way, or enter it manually

    vchengfenmsft_1-1676438261243.png

     

    Best Regards

    Cheng Feng

     

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 67

#2
David_MA Profile Picture

David_MA 64 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 39 Most Valuable Professional

Last 30 days Overall leaderboard