cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Jamiehopper1
Level: Powered On

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

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

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

Jamiehopper1
Level: Powered On

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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 446 members 6,572 guests
Please welcome our newest community members: