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 / Error when moving file...
Power Automate
Answered

Error when moving file to a specific folder based on the starting alphabet of file name.

(1) ShareShare
ReportReport
Posted on by 57

Hi,

I have established the flow as below to direct the file to a folder which having same starting naming. 
For example: File name: DFA 12345, so I wan to move the file to a folder name DFA. But i am facing the error as per second attachment.

 

Capture.PNG

 

I notice the system has added in a number under "File to move" then this number will be added in to the end of current site url.

where you can see at "Body" of this photo. I suspect this new adding number which causing the error but I do not know how to solve this. Please help.

capture 1.PNG

 

 

 

  

 

 

Categories:
  • fchopo Profile Picture
    8,003 Moderator on at

    Hi @Jo9 

    Instead of using the "ID" field, could you use the "Path" field as the value of  the File to Move property?

    Hope it helps!

    Ferran

  • Jo9 Profile Picture
    57 on at

    Hi @fchopo ,

    i have changed the field. But end up this error occurred. Missing or mismatched field definition on the destination list for source field 'ApprovalStatus' type 'Text'. Source site template id 'TeamChannel', target site template id 'GroupWebTemplateID'. Total blocked root objects in this operation. please help.

     

    Jo9_0-1619773486193.png

     

  • Verified answer
    fchopo Profile Picture
    8,003 Moderator on at

    Hi @Jo9 

    Power Automate is trying to move the file with all the metadata to another different libray, which may not contain this metadata columns (move file is replicating all the metadata).

     

    In order to avoid this problem, try to use the "copy file" action , and if it's necessary, delete file from the source document library.

    Hope it helps!

    Ferran

  • Jo9 Profile Picture
    57 on at

    Yes. Using copy and delete file able to solve the problem. Thanks.

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 229 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 223 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 136 Super User 2026 Season 2

Last 30 days Overall leaderboard