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. JP 5 Reputation points
    2025-02-05T10:03:58.4233333+00:00

    Same here - I can't run the script or I don't even have access to it (even though I'm the owner). Clicking the button does nothing for me or anyone else who has access to the file. Some of them get an error saying that the script is not shared even though it is.

    Hope they fix it soon - it's a huge blocker.

    1 person found this answer helpful.
    0 comments No comments

  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. Erik Zwep | GOsensit 15 Reputation points
    2025-02-05T11:30:12.85+00:00

    I'm experiencing the same issue. I have submitted a service request to Microsoft and am curious to see if they will address it quickly.

    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.