Investigating locked Excel files in Power Automate
Check workbook ownership, concurrent writes and uncertain outcomes when an Excel connector reports a lock.
Identify the affected workbook
Record the failing flow action, workbook location, time and error, then identify other flows or people that may write to the same file. Do not assume that closing one browser tab resolves every lock. Preserve the run details and check the resulting workbook before attempting a repeat.
Understand the connector limit
Microsoft notes that an Excel Online Business connector operation may leave a workbook locked for an update or deletion for a period after use. It also says simultaneous modifications from connectors and manual edits are not supported and can cause inconsistent data. Confirm the current connector guidance and the actual access pattern.
Plan a safe recovery
Ask the workbook owner to review the recent changes and determine whether the failed action already took effect. Avoid repeated writes when the result is uncertain. If several flows or staff need to update the same records, assess a different handoff or data store rather than relying only on a delay to prevent conflicts.
Test the revised design
Use an isolated workbook with fictional rows and mocked downstream systems to exercise a lock, concurrent requests and a retry after an uncertain result. Compare the row count and values with the expected outcome, and agree who is alerted if the workflow cannot proceed. Do not change the live workbook during testing.