Forum Discussion

subhavx's avatar
subhavx
Copper Contributor
Nov 23, 2026

Not able to create new office scripts or able to access already created ones

An unexpected error occurred. Close the task pane to try again.

To use Office Scripts, you must change your browser settings to allow third-party cookies. If that doesn't work, your organization's admin may have disabled this feature.

4 Replies

  • EPDelta's avatar
    EPDelta
    Copper Contributor

    Got there.  

    The Allow sites to save and read cookie data (recommended) = Enabled

    Block third-party cookies = Disabled

    Didn't make any changes, but did notice that cloud.microsoft and excelforum.com are there in Privacy, search, and services/Cookies/All sites.

  • NikolinoDE's avatar
    NikolinoDE
    Platinum Contributor

    Open Edge's cookie settings

    1. Open Microsoft Edge.
    2. Copy the following into the address bar:

    edge://settings/content/cookies

    Copy address

    1. Press Enter.
    2. Look for Block third-party cookies.

    Don't change anything else yet. If the setting is enabled, we can decide whether to temporarily disable it or use a targeted exception, depending on what you see.

  • EPDelta's avatar
    EPDelta
    Copper Contributor

    What if I don't have either work or school account?  Excel for the Web complained about being unable to start the script editor and the cookies question was raised. I validated that my browser was accepting cookies for this web app, but still the problem remains.

    Any thoughts will be appreciated.

  • The error affects both new and existing scripts in Excel for the web, so start by checking access to the Office Scripts service rather than editing a script. The message identifies two possibilities; it does not establish which one is responsible.

    First, check whether your browser blocks third-party cookies. Allow the required cookies for a controlled test, reload the workbook, and try Automate again. If the browser is managed, ask your administrator which exceptions are permitted. You can also test another supported browser using the same account and workbook.

    If this is a work or school account, ask the Microsoft 365 administrator to verify that Office Scripts is enabled for your account and that your license supports it. Check the account and browser profile used to sign in. If the problem persists, provide the browser version, account type, time of the error, and whether Excel desktop behaves differently when contacting support