The formula edit page has stopped working in DevTest Labs (Azure portal)

Dmitry Zhora 0 Reputation points
2026-10-21T16:20:14.7133333+00:00

The formula edit page was working previously. Now it has stopped working for all the formulas in the lab. The error looks to be related to Knockout.js used for the portal. Could you advise how to fix this?
User's image

Azure DevTest Labs
Azure DevTest Labs

An Azure service that is used for provisioning development and test environments.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Alex Burlachenko 26,135 Reputation points MVP Volunteer Moderator
    2026-10-22T10:53:14.6+00:00

    Dmitry Zhora hi & thx for join me at Q&A platform,

    error in ur screenshot is a pretty strong indication of an Azure portal UI issue rather than a problem with the formulas themselves.

    Cannot write a value to a ko.computed unless you specify a 'write' option is a Knockout.js error. It typically happens when JavaScript tries to assign a value to a read-only computed observable. In this case, the exception is occurring inside the DevTest Labs CreateUpdateFormulaBlade, which suggests something is going wrong while the portal initializes the formula editing form.

    The fact that every formula in the lab is affected, and the page worked previously, makes a regression in the DevTest Labs portal extension a reasonable possibility. I wouldn't start deleting or recreating formulas, bc there's no evidence that the underlying resources are corrupted.

    I'd first try opening the same formula in an InPrivate window and another browser, just to rule out cached portal scripts or browser extensions. Then open Developer Tools (F12), reproduce the error, and check the Console for the complete JavaScript stack trace. The Network tab is useful too: if the formula's ARM GET request succeeds but the blade still crashes, that would further point toward a frontend binding issue.

    There is also a workaround if u urgently need to modify a formula. DevTest Labs supports updating formulas through the Azure Resource Manager REST API, using PUT on the Microsoft.DevTestLab/labs/formulas resource with API version 2018-09-15. U can retrieve the existing configuration first and use it as the basis for the update. Just be careful to preserve the complete formula definition, including image, network, and artifact settings. The PATCH operation only updates tags, so it won't help with normal formula configuration changes.

    If the error persists across browsers, I'd report it to the Azure DevTest Labs engineering team as a possible portal regression. Include the screenshot, browser version, UTC timestamp, Console stack trace, and a sanitized HAR capture. The screenshot already identifies the extension as Microsoft_Azure_DevTestLab and the failing blade as CreateUpdateFormulaBlade, which should help them locate the problem.

    One question tho: does creating a brand-new formula still work, or does the Create formula page fail with the same Knockout.js exception? If creation works but editing fails for every existing formula, that would narrow the issue down to the formula update blade's initialization logic.

    rgds,

    Alex

    p.s. if my answer is help - pls mark it as an answer

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

  2. Dmitry Zhora 0 Reputation points
    2026-10-22T15:40:23.7+00:00

    Hi Alex,
    Thank you for your feedback. Eventually, I managed to create a ticket for Azure support team. The problem is already resolved, but clarification is yet to follow. Previously, edit formula page and DTL VM creation were failing, I didn't check the create formula functionality.
    Dmitry,

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