Microsoft 365 Error Codes

Fix Excel Office Scripts Status 423 and Missing Data in Power Automate

Natalie TaylorNatalie Taylor Nov 10, 2026 869 views

Question details

The user needs to resolve status code 423 (file locked) and missing data errors when running sequential Excel Office Scripts via Power Automate.

Fix Excel Office Scripts Status 423 and Missing Data in Power Automate
Product
Microsoft Excel
Device & OS
not provided
Scenario
Executing sequential Office Scripts on an Excel workbook in Power Automate where data must be populated and subsequently read or modified.
Observed behavior
Excel returns a 423 status code indicating the file is locked, or returns a 200 status code but fails to show the expected populated data from a preceding script run.
Before you start

Ensure that the target Excel workbook is fully closed on all devices and that you have the necessary edit permissions for the SharePoint or OneDrive directory where it is stored.

Solution 1Recommended

Implement Delays and Retry Policies in Power Automate

Adding a delay between actions prevents the second script from running before the first script releases the file lock or finishes saving data.

When running multiple Office Scripts back-to-back in Power Automate, cloud syncing and file locking mechanisms can cause timing conflicts. A brief delay allows the background processes to finalize data population and release the file lock.

1
Open Power Automate Flow

Navigate to your specific flow in Power Automate and click 'Edit' to view your action steps.

2
Add a Delay Action

Click 'New step' between the two Excel Office Script actions, search for 'Delay', and set the duration to at least 1 minute.

3
Configure Retry Policy

Click the three dots (...) on your Excel action, select 'Settings', and configure a Retry Policy to handle temporary 423 locked file errors automatically.

Implement Delays and Retry Policies in Power Automate
Timing Resolved: Using delays ensures data is fully synced to the workbook before the next script attempts to access it.
Free Microsoft Office alternative

Try WPS Office for Seamless Spreadsheet Management

If complex Power Automate integrations and Office Script errors are slowing down your productivity, WPS Office provides a lightweight, highly compatible alternative. It handles standard Excel formats flawlessly while offering a familiar interface for your daily spreadsheet tasks.

  1. 1. Download and Install: Visit the official WPS website to download and install WPS Office on your device.
  2. 2. Open Your Spreadsheet: Launch WPS Spreadsheet and open your existing .xlsx files directly without any format loss.
  3. 3. Manage Data Efficiently: Use built-in formulas, pivot tables, and data tools to manage your workflows natively.
Free and lightweight office suite with fast installation.Fully compatible with Microsoft Excel (.xlsx, .xls) formats.Familiar user interface requires zero learning curve.Built-in advanced data analysis and visualization tools to simplify workflows.
microsoft office alternative - wps office

Frequently Asked Questions

What does Excel status code 423 mean in Power Automate?

Status code 423 indicates that the Excel file is locked. This usually happens when the file is open in another active session, or a previous Power Automate action has not yet released its lock on the file.

Why does my Office Script return status 200 but has missing data?

A 200 status means the script executed successfully, but if data is missing, it is typically a timing issue. The previous step that populates the data hasn't fully committed the changes to the workbook before the script reads it.

How long of a delay should I add between Excel actions in Power Automate?

Typically, a delay of 1 minute is sufficient for the cloud service to save changes and release file locks, but you may need to increase this for very large Excel files.

Which Power Automate connector is best for Office Scripts?

For running Office Scripts via Power Automate, it is highly recommended to use the 'Excel Online (Business)' connector to ensure proper authentication, file path recognition, and script execution support.