Excel Automate Office Scripts not working

H4941 170 Reputation points
2025-02-04T03:59:58.1666667+00:00

I've been using Office Scripts in Excel to automate some tasking. Yesterday, I tried to add a new script and it gives me the following error.

Oops, something went wrong

An unexpected error occurred. Click 'Refresh' button to retry.

I also tried 'Record Actions' to create a script and when i hit stop I get the following error:

Oops, something went wrong

We're unable to save your script. An unexpected error occurred while generating and saving the script. Click 'Record Actions' to record again.

Microsoft 365 and Office | Development | Other
Microsoft 365 and Office | Excel | For business | Windows
{count} votes

Answer accepted by question author
  1. Danaj, Adam 105 Reputation points
    2025-02-05T08:12:37.9266667+00:00

    the problem is probably global

    with me it is not possible to create, edit and use scripts

    work in my company is very difficult

    4 people found this answer helpful.
    0 comments No comments

15 additional answers

Sort by: Most helpful
  1. Caroline Briggs 5 Reputation points
    2025-02-05T11:50:15.0133333+00:00

    we have this today as well - nothing is working in Excel online scripts, watching for solution

    1 person found this answer helpful.
    0 comments No comments

  2. Jóźwiak, Jakub 5 Reputation points
    2025-02-05T11:54:53.98+00:00

    Same here - can't run script manually, can't use it in Power Automate flow.

    1 person found this answer helpful.
    0 comments No comments

  3. Mordecai 5 Reputation points
    2025-02-05T11:58:17.7733333+00:00

    I'm also getting the same problem. All Office scripts are failing. We need Microsoft to address this as soon as possible.

    1 person found this answer helpful.
    0 comments No comments

  4. CORTES Zacharie 5 Reputation points
    2025-02-05T12:28:38.64+00:00

    Same here,

    I just tried create a new script in 5 différents tenants. Not one works

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.