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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / When I a replace a fil...
Power Automate
Unanswered

When I a replace a file in onedrive my automation fails

(0) ShareShare
ReportReport
Posted on by 70

I have an automation that relies on an excel spreadsheet (text.xlsx) in a onedrive folder (My files>Test).

 

There will only ever be one file in the folder at a time and it will always be named the same (test.xlsx)

 

When I replace text.xlsx with a new version, even with the same name, the power automate breaks down. I assume this is because power automate is not really using the file name in the following steps, but something else. How to I accommodate that I will be replacing text.xlsx frequently?

 

Thank you for your help!

Categories:
I have the same question (0)
  • JPey Profile Picture
    70 on at

    To clarify the next step is to create a table in the text.xls file

  • Rhiassuring Profile Picture
    8,690 Moderator on at

    It is using the file name, and the location.

    Can you show the configuration of your flow? You say it "breaks down". What do you mean by that? Is it not triggering?

  • JPey Profile Picture
    70 on at

    When I run this flow and the file is already in the folder location, it succeeds. When I run the flow the first time it works. When I delete the original file and a new file with the same exact name, it fails. It continues to fail until I update the file in the CREATE TABLE section (even though it's the same name and path).

     

    JPey_0-1701587472233.png

     

  • Rhiassuring Profile Picture
    8,690 Moderator on at

    Try changing your settings on the action to Secure Input / Secure Output = Yes.

     

    This has turned into my "turn it off and back on again" recommendation when it comes to Excel - it seems like Excel actions like to cache things.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard