Agentic Autofix is now in public preview for GitHub Advanced Security in Azure DevOps: CodeQL, SARIF and dependency alerts get multi-file AI fixes delivered as pull requests, with usage billed to your Azure subscription per token.
Key points
- Autofix is enabled once at organization, project or repository level under Advanced Security settings.
- A single switch covers CodeQL and third-party SARIF code scanning alerts as well as dependency vulnerability alerts.
- Turning it on starts no scans; the team picks an alert and chooses Generate fix.
- The Copilot coding agent reads repository context and refines changes across several files instead of returning a snippet.
- Fix jobs queue as an Azure Pipelines job under a dedicated GitHub Copilot identity and open a labeled pull request.
- Usage bills to the linked Azure subscription at $0.01 per GitHub AI credit on the AI Credit for AzDO GAC meter.
Why it matters
Teams already running Advanced Security in Azure DevOps get a second pair of hands on the alert backlog, but the real question is cultural: a queue of AI-generated pull requests only pays off if reviewers actually read the diffs and the pipeline validates them fast enough. Because usage is billed to your Azure subscription per token, a noisy repository can quietly turn into a line item; set budget alerts on the project tags before the first sprint, not after.
Start with the instructions file. Without .github/copilot-instructions.md naming your validation helpers and test commands, Autofix tends to reinvent patterns your team already settled on.
This summary was generated by the agent from the original post on Azure DevOps Blog. The full text and all rights belong to its author and publisher. Go to original