---
topic: security
author: Crashtech Editorial
published: Nov 29, 2026 · read: 3 min
---

Agentic Autofix for Azure DevOps Still Produces a Patch to Review

Microsoft’s public preview brings agent-generated security fixes into Azure DevOps. Review the diff and test the fix before treating an alert as resolved.

– –

A code-scanning alert points to a possible vulnerability; fixing it still requires understanding the surrounding code. Microsoft announced the public preview of Agentic Autofix for GitHub Advanced Security for Azure DevOps on November 23. The feature is intended to produce a ready-to-review, AI-generated fix inside the developer workflow. Public preview follows earlier private and limited previews, during which Microsoft says it expanded alert coverage and improved failure handling. Those statements describe the vendor’s rollout; they are not independent measurements of fix quality. [1]

The useful unit of work is a proposed patch, not an automatically cleared alert. A generated change can be syntactically plausible while missing a caller, altering an API contract, weakening a validation check, or failing to address the actual data flow. Reviewers should compare the patch with the vulnerability explanation and the project’s threat model, then run tests that exercise the risky path. A green pipeline is necessary evidence for some changes, but it does not by itself prove the security property holds. [3]

Make the review traceable

For a pilot, record the alert identifier, the generated patch, the reviewer, the tests run, and the final disposition. Ask the reviewer to explain why the change removes the vulnerable behavior. If the patch changes input handling, for example, test both allowed and rejected inputs; if it changes authorization, exercise a caller that should not have access. Keep the security alert open until the remediation is reviewed and the normal workflow confirms the fix.

Do not merge just because an agent opened a pull request or the generated diff looks small. Check whether the patch is complete across all affected call sites and whether it introduces a second issue. When the result is uncertain, request changes or fix it manually. An assisted tool should reduce the effort to form a candidate fix, while the team’s branch protections, security review, and tests remain the acceptance gate.

Scope and rollout questions

The phrase “Agentic Autofix” should not obscure the product boundary. This announcement applies to GitHub Advanced Security for Azure DevOps, not every Azure DevOps repository or every security finding. The roadmap and documentation distinguish code-scanning and dependency-scanning alert support and describe their own preview status. Confirm which alert types are eligible in the organization’s tenant before setting a team expectation. [3]

Preview software changes. Keep a small pilot group, monitor failure and abandonment rates, and compare the generated fix with the team’s current remediation process. Avoid measuring success only by the number of suggestions accepted. Track whether the patch passed review, reduced time to a verified correction, and avoided regressions. Those are local evaluation measures, not results published in the announcement.

Microsoft says the relevant GitHub Advanced Security for Azure DevOps or standalone Code Security license includes access to Autofix, while each generated fix consumes AI credits billed to the Azure subscription linked to the organization. The company gives a rate of $0.01 USD per credit and says usage varies with code context and fix complexity. Set a pilot budget, use Azure budget alerts, and review the meter before inviting a broad developer group. The preview is not “included” in the sense of unlimited free generation. [1]

Security owners should also review who can invoke the feature, which repositories are in scope, what code context the service processes, and how logs and retention work under their current agreements. The product announcement alone does not answer every data-handling question. Start with Microsoft’s preview announcement and GitHub Advanced Security for Azure DevOps overview for the product boundary and current configuration details. Our AI workflow security guide covers the access controls that should surround coding agents.

A security alert leads to a separate suggested patch and side-by-side diff that a maintainer reviews before approval.
Conceptual editorial illustration of the article’s subject; not a product screenshot.
Advertisement

Frequently asked questions

What is the current availability?

The linked primary announcement describes the current preview or release state. Confirm eligibility, supported configurations, and terms in the current product documentation before adopting it.

What should teams validate first?

Pilot the change in a bounded environment, verify its behavior against primary documentation, and keep a human owner responsible for review and exceptions.

Sources & further reading

/* Comments */