Excel Automate Office Scripts not working

H4941 160 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

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

15 additional answers

Sort by: Most helpful
  1. Danaj, Adam 100 Reputation points
    2025-02-05T13:30:52.0133333+00:00
    2 people found this answer helpful.

  2. 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.

  3. 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

  4. 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

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.