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 / Issue Using New File I...
Power Automate
Answered

Issue Using New File Instead of Old One

(0) ShareShare
ReportReport
Posted on by 2
I have a manual trigger flow that takes an excel file that is stored on SPO each week and merges (updates or creates a new record) in an existing SPO list. Currently, I use the 'List rows present in a table' step to pull the file + table using the dropdown navigation for the file and table section. In this example, let's call it 'project.xlsx' with the table name 'report'.
 
The next step, I start my apply to each loop and the rest of the flow works great. The SPO list gets updated properly and the flow works. Afterwards, I manually update the file name by adding a timestamp at the end and move it into an Archive subfolder in that location. The next week, we get a new file with the same original name, project.xlsx, in that original folder location with the same table name. However, when I run the flow it seems to still reference the old file even though I changed the file name and moved it to a subfolder. This leads me to believe the List rows present in table step is instead using the file id instead of the actual name I specified in the step. If I remove that step and recreate it, the flow works correctly and uses the new weekly file. 
 
How can I fix this flow so that it will always use the new file that comes in each week instead of seemingly referencing the same old file?
Categories:
I have the same question (0)
  • Verified answer
    Chriddle Profile Picture
    8,525 Super User 2026 Season 1 on at
    When you select the file in the dropdown, you are using the file id. This id does not change when you move the file.

    Instead, use the Sharepoint action "Get file metadata using path" and use the returned "id" (and add the table name as a custom value):

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 86 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 55

#3
Ellis Karim Profile Picture

Ellis Karim 53 Super User 2026 Season 1

Last 30 days Overall leaderboard