cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Community Support
Community Support

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
Community Support
Community Support

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

Perfect!

 

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

 

Thanks for the help.

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (2,011)