cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Flow error with exporting data to an excel file "Locked"

I have a Flow in place that says when a new item is added to a list in SharePoint, it exports to a shared spreadsheet in my OneDrive. If the file is closed the Flow runs successfully with no issues, the issue is when someone has the file open. The Flow errors saying that the file is locked. Any fix to this? Is there a setting somewhere where I have to set the file to be able to be edited by multiple entities at once?

 

Any help would be much appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Flow error with exporting data to an excel file "Locked"

Hi @Jamiehopper1,

 

When using the Excel action Insert row, error message “the file is being locked” will be returned if the file is being opened.

Please try using the action Add a row into a table of connector Excel Online (Business) which will still work though the file is open.

I have made the following test which works fine no matter the file is closed or not.

 1.PNG

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Flow error with exporting data to an excel file "Locked"

Hi @Jamiehopper1,

 

When using the Excel action Insert row, error message “the file is being locked” will be returned if the file is being opened.

Please try using the action Add a row into a table of connector Excel Online (Business) which will still work though the file is open.

I have made the following test which works fine no matter the file is closed or not.

 1.PNG

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Frequent Visitor

Re: Flow error with exporting data to an excel file "Locked"

Perfect!

 

Seemed like an easy one but was making me want to pull my hair out! 

 

Thanks for the help.

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (5,183)