web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Flow action for Move Or Rename File "The resource could not be found."

(0) ShareShare
ReportReport
Posted on by

I have a flow that triggers when a new email comes to my inbox with a specific file attachment. It then moves and renames a file in a one drive location then places the specific email file attachment in the one drive location that the moved file was in. They both initially have the same name before the file is renamed and moved. The flow runs successfully the first time, but fails after than and will not run past the first instance. I'm looking for an alternative solution or a workaround to make this process work. 

FileNotFound.png

I have the same question (0)
  • Verified answer
    Sutherland Profile Picture
    on at
    Re: Flow action for Move Or Rename File "The resource could not be found."

    Hello Kcronic,

    I would recommend using 'Move or rename a file using path'. As 'Move or rename a file' is tracked by the unique identifier of the file. That's why your flow runs successfully the first time, but fails after than because Flow cannot find previous file id any more.  
    https://docs.microsoft.com/en-us/connectors/onedriveforbusiness/#move-or-rename-a-file

    Johnnyg_0-1597563455958.png

     

  • Community Power Platform Member Profile Picture
    on at
    Re: Flow action for Move Or Rename File "The resource could not be found."

    Doesn't look like that works either. When I tried I get a new error. New Error.png

     

     

  • espk Profile Picture
    2 on at
    Re: Flow action for Move Or Rename File "The resource could not be found."

    Hi @Anonymous , have you found the solution to this issue?

     

    The first folder should be saved in the root folder of your connection

     

    The Destination File Path should be like this:

     

    Parts of my Destination File Path:

    /SNOW - BAU/ First folder after the root folder Onedrive

    Archive Prod Release Candidates - Folder within SNOW - BAU

    [SENT]Filename - New filename of the file I want to move

     

    espk_0-1661996592156.png

    For example, my connection below is pointed to my OneDrive folder, where my "SNOW - BAU" Folder is saved.

     

    espk_1-1661996817172.png

     

    The folder structure looks like this in File Explorer:

    C:\Users\[myusername]\OneDrive\SNOW - BAU\Archive Prod Release Candidates

    espk_2-1661997056253.png

     

     

     

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 659 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 386 Moderator

#3
chiaraalina Profile Picture

chiaraalina 290

Last 30 days Overall leaderboard