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:

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 389

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard