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 / Moving files and copy ...
Power Automate
Unanswered

Moving files and copy folder structure

(0) ShareShare
ReportReport
Posted on by

Hello

 

I am trying to move files which haven't been modified for xx years to another document library in thesame SharePoint site. I am building a flow that runs each month.

 

Files are in /Documents/folder 1/subfolder 1/file 1.docx

Are to be moved to /Archive/Documents/folder 1/subfolder 1/file 1.docx

 

Where I would like to keep folder 1 in the source, but move subfolder 1 and all of its contents to the archive library.

 

1) I am getting the file properties with Odata: Modified le formatDateTime(addDays(utcNow(), -1825), 'yyyy-MM-dd')

2) Next I am using a condition: isFolder equals false
3) if Yes: move the file with SharePoint.
- Using "File location" and "filename with extention" to locate the file
- Source dir: /Archive/"File location"
 
This is returning the error:
The system cannot find the file specified
 
Any ideas? I'm sorry i did not provide any screenshots, it's all in another language so it wouldn't be helpful.
 
Thank you in advance for helping out!
 
Categories:
I have the same question (0)

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
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard