Excel Automate Office Scripts not working

H4941 150 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.

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
2,142 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
4,226 questions
{count} votes

Accepted answer
  1. Danaj, Adam 95 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

    3 people found this answer helpful.
    0 comments No comments

14 additional answers

Sort by: Most helpful
  1. Erik Zwep | GOsensit 10 Reputation points
    2025-02-05T15:22:27.3233333+00:00

    For me, the problem is solved.

    2 people found this answer helpful.

  2. Carsten Behr 5 Reputation points
    2025-02-05T10:48:25.2333333+00:00

    My Power Automate Flows containing Scripts are also failing with an Error Message 502:
    d3417ba773ec7ae672e85c8aa5f75d884b21cee51cae5faffcc6a27593290942 Kopie

    1 person found this answer helpful.
    0 comments No comments

  3. HYW 5 Reputation points
    2025-02-05T11:24:12.0766667+00:00

    We're having problems too. In addition to what others have already mentioned, Office Scripts-related configurations in the admin center seem to be broken as well:

    User's image

    1 person found this answer helpful.
    0 comments No comments

  4. Danaj, Adam 95 Reputation points
    2025-02-05T13:30:52.0133333+00:00
    1 person found this answer helpful.

Your answer

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