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 / Excel connector - List...
Power Automate
Unanswered

Excel connector - List rows present in a Table connecto causes a long lasting lock on the excel file

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

We have  a simple flow

1 - Copy excel file from sharepoint location to a onedrive folder,

2 - Extract infomation from the excel file using the "List rows present in a Table" 

3 - Delete the file from step 1

 

For some reason, the List rows present in a Table action (step 2) casues a long lasting lock on the files created in step 1 and step 3 is failing... even after more than 1 hr.

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    How is your flow created? Could you share a screenshot of your flow?

    In the action List rows present in a table, are you getting the file using the dynamic content from the previous action?

    However, I am afraid that dynamic contents in File/Table inputs in connector Excel (Business) haven’t been supported yet. If you need this feature, please vote and comment the idea at here:

    https://powerusers.microsoft.com/t5/Flow-Ideas/Dynamic-content-in-File-amp-Table-inputs-Excel-Business/idi-p/107822 

     

    Best regards,

    Mabel

  • GabrielStJohn Profile Picture
    Microsoft Employee on at

    Hey, @Anonymous!

    Thank you for posting on the Flow Community Forum! It appears as though @v-yamao-msft would like some more information in order to further assist you properly with your issue. Please share any additional information that was requested in order to decrease the amount of time that it will take for you to be assisted!

    Thank you for being an active member of the Flow Community!

    -Gabriel
    Flow Community Manager

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I am not sure I understand the question from the previous message. 

    Let me re-iterate what is the flow.

    Step 1 - Flow copies a file from one SharePoint Library to another

    Step 2 - Flow uses "List rows present in a table" to extract information from the excel

    Step 3 - Flows tries to delete the copy of the file from step 1

     

    Problem - The file is locked and step 3 fails.

    In step 2, we use the output of step 1 (new file name) when opening the file and extracting information in a table.

    It would be great if the file will be available for deletion at step 3 without the need to wait hours...

     

    Thank you!

  • DataViz Profile Picture
    13 on at

    I am having the same issue. However, I am using onedrive for business to copy a file and then extract the rows. 

  • leyburn19 Profile Picture
    2,157 on at

    When dealing with excel I have found I need to add some strategic placed delay actions.  I believe that while you may concider the file to closed and accessible there are actions that ofetn still taking palce for up to 2 or 3 minutes and excel is concidered still in use on one drive. Place in a delay can overcome that.  Type in Delay in add new actions 

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 1,027

#2
Valantis Profile Picture

Valantis 815

#3
Haque Profile Picture

Haque 630

Last 30 days Overall leaderboard