Skip to main content
Community site session details

Community site session details

Session Id : CMX/qmaemlSw9Kd4bfhMaW
Power Automate - Building Flows
Suggested answer

Cloud Flow issue with Excel file, when file gets replaced weekly in SharePoint library

Like (0) ShareShare
ReportReport
Posted on 22 Dec 2024 15:11:32 by 19
Hi there,
 
I have a worrying situation whereby I am trying my best to find the best solution around it. 

Background info.
 
I have a SharePoint List table that contains all New Hires information.
I am currently have a scheduled Power Automate desktop flow, whereby from a PowerBI Dashboard i am downloading weekly new hire data into an excel file called NewHire.
My Desktop flow, will automatically replace this New Hire file stored inside my SharePoint library.
 
I have an issue now with the Scheduled Cloud Flow Importing of Data from the NewHire excel file inside Sharepoint library into my SharePoint table.
I am using the usual List Rows present in Table and then run a Create Item(sharepoint) using the values in my Excel file.
 
This automation works fine. However the issue starts when the next week i replace the new hire file.
The automation to import seems to be taking the old new hire file. 
 
I checked in my flow and see that the File id has not changed. If i update my automation to repoint the file back to the same NewHire excel file, i see the file ID changes.
 
I would like to know what is the workaround that can be done here in my situation. How can i ensure when my List Rows Present in Table uses the latest Excel file found inside my SharePoint library and pointing to Table1
  • Suggested answer
    Pstork1 Profile Picture
    67,060 Most Valuable Professional on 22 Dec 2024 at 17:25:25
    Cloud Flow issue with Excel file, when file gets replaced weekly in SharePoint library
    The only real fix for this is to use MS Graph to lookup the ID for the changed file and use that instead of the filename.  Here's an article that explains how to do that. Workarounds needed to use the Excel Connector in Microsoft Flow — John Liu .NET

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1