
To enable GitHub Copilot code review in Azure DevOps, a Project Collection Administrator first allows it for the organization, then a Project Administrator or repository administrator enables it for the project or Azure Repos Git repository. After that, open a pull request and request a review from GitHub Copilot, or configure a branch policy to request reviews automatically.
Copilot code review is generally available for Azure Repos as of November 20, 2026. It adds comments and suggested changes to pull requests, but it does not approve pull requests, request changes, satisfy required-reviewer policies, or replace a human reviewer.
Key takeaways
Copilot code review works with Git repositories in Azure Repos, not Team Foundation Version Control.
You must enable access at the organization level before projects and repositories can use the feature.
Each completed review consumes GitHub AI credits and is billed to the Azure subscription linked to the Azure DevOps organization.
You can request a review manually from a pull request or turn on automatic reviews with a branch policy.
Start with one or two repositories so your team can check comment quality, review flow, and cost before a wider rollout.
What Copilot code review does in Azure Repos
GitHub Copilot code review is an automated pull request reviewer inside Azure DevOps Services. When you request a review, Copilot examines the changed code and posts inline comments where it finds a potential issue or can suggest an improvement. You stay in the Azure Repos pull request experience rather than moving the repository to GitHub.
The feature started as a technical preview in June 2026, became available to all Azure DevOps customers in public preview in August 2026, and reached general availability on November 20, 2026. Microsoft describes it as a way for teams using Azure Repos to get Copilot review feedback before a human reviewer signs off. Microsoft's Azure Repos documentation is the source of truth for setup requirements and current limits.
Think of Copilot as an extra reviewer. It can point out a missing null check, an error-handling gap, a risky query pattern, or code that does not follow the instructions you give it. A developer still needs to read the feedback, decide whether it is correct, make the change, and complete the normal pull request review.
Check the prerequisites before you enable it
Before changing any settings, confirm that your team uses Azure DevOps Services and stores code in an Azure Repos Git repository. Copilot code review does not support TFVC repositories. The Azure DevOps organization also needs a linked Azure subscription because review usage is billed through Azure Cost Management.
What you need | Why you need it | Who usually has it |
|---|---|---|
Azure DevOps organization | Copilot code review is configured within the organization. | Azure DevOps administrator |
Azure Repos Git repository | Copilot reviews pull requests in Git repositories. TFVC is unsupported. | Repository team |
Linked Azure subscription | Completed reviews are charged through Azure Cost Management. | Subscription owner or billing team |
Project Collection Administrator permission | Required to allow Copilot code review at the organization level. | Organization administrator |
Project Administrator or repository administrator permission | Required to manage project or repository settings. | Project or repository administrator |
This permission model matters for beginners because the setting is intentionally layered. A repository administrator cannot turn the service on for a repository until the organization has permitted repositories to use it. That gives the organization control over billing and where AI review is available.
Enable Copilot code review at the organization level
Start at the top level. Sign in to your Azure DevOps organization at https://dev.azure.com/{yourorganization} with an account that has the Project Collection Administrator role.
Select Organization settings.
Select Repos, then select Repositories.
Find the GitHub Copilot code review section.
Turn on Allow repositories in this organization to use Copilot code review.

This does not mean every repository immediately receives Copilot reviews. It authorizes projects and repositories in the organization to use the feature. The organization-level Enable all option is broader: it enables Copilot code review for every project and repository. For a first rollout, I would allow the feature at the organization level but enable only one project or repository next.
Microsoft records configuration changes in the Azure DevOps audit log. That is useful if you need to know when the feature was enabled, where it was enabled, and which administrator changed the setting. The general availability announcement also recommends beginning with one or two repositories and monitoring usage before expanding. Microsoft's November 20, 2026 announcement explains the rollout and billing model.
Enable it for a project or a repository
After organization access is allowed, choose the scope that makes sense for your team. A project-level setting is useful when a whole product team should use the same review process. A repository-level setting is better for a pilot, a sensitive repository, or a project where only some repositories are ready.
Turn it on for an Azure DevOps project
Open the Azure DevOps project.
Select Project settings.
Select Repos, then Repositories.
Under GitHub Copilot code review, turn on Enable Copilot code review for this project.

When you use the project-level Enable all setting, the feature is enabled for every repository in that project. Repository-level settings can still override the project choice when the project configuration allows it.
Turn it on for one repository
Open the project and select Project settings.
Select Repos, then Repositories.
Select the repository you want to configure.
Select the Settings tab.
Turn on Enable Copilot code review for pull requests in this repository.

Open an existing or new pull request to verify the setup. GitHub Copilot should appear in the Reviewers list. If it does not appear, check the organization setting first, then confirm your repository is Git rather than TFVC and that the Azure subscription is linked.
Choose a review effort level and control cost
Copilot review effort controls how thoroughly Copilot analyzes a pull request. A higher effort level generally uses more context and more tokens, which can increase cost. Project administrators can set a default effort level for all repositories in a project, and they can allow or prevent repository administrators from changing that default.
To set a project default, go to Project settings > Repos > Repositories, then choose a value under Default effort level. If repository overrides are allowed, a repository administrator can open the repository's Settings tab and set a different default there.
A developer requesting a review can also select a different effort level for that one review from the menu next to Request. That choice does not change the project or repository default. Azure DevOps records the requester and selected effort level in pull request activity.
Each completed review consumes input, output, and cached tokens. Azure DevOps converts those tokens into GitHub AI credits, and one credit equals $0.01 USD. Charges show up as a separate meter in Azure Cost Management, but Microsoft says they can take up to 48 hours after review completion to appear in the Azure portal.
For an early rollout, use the lower-cost review setting where appropriate, keep pull requests small, and inspect usage after several real reviews. InfoQ noted the same two-day reporting delay when it covered the public preview, which is a good reason not to enable automatic review across a busy organization without first setting a budget alert. InfoQ's coverage also highlights the organization, project, and repository controls.
Request a Copilot review on a pull request
Once the feature is enabled, asking for a review is simple. Open an active pull request that has no merge conflicts. In the Reviewers section, find GitHub Copilot and select Request. Use the dropdown next to the button if you want a different effort level for that review.
Copilot processes the pull request and changes its status to Review completed when it finishes. It posts comments as the GitHub Copilot reviewer, usually on the code line where the concern applies. Where possible, a comment includes a suggested change that you can apply with one click.
Comments behave much like comments from human reviewers. You can reply, react, resolve, or hide them. But Copilot does not read replies or continue the discussion, so a reply is for your team, not a prompt for Copilot to revise its feedback.
Copilot only performs a review when asked by default. It also does not automatically review again after you push a new commit. Select Request again when you want feedback on the updated pull request.
Set up automatic reviews with a branch policy
Manual requests are a good way to start. When your team is comfortable with the comments and costs, you can have Azure DevOps request a Copilot review whenever a pull request targets a selected branch. This is a separate setting from feature enablement.
Select Repos, then Branches.
Find the target branch, such as
main.Select More options next to the branch, then select Branch policies.
Turn on the Automatically request Copilot code review policy.
Repeat this for each target branch that needs automatic reviews. You need permission to edit branch policies. Automatic review can help keep a consistent first-pass review step, but it can also generate reviews for every eligible pull request. Use it after you understand your normal review volume and Azure billing behavior.
There are limits to plan around. A repository must be 10 GB or smaller, a pull request can have no more than 100 changed files and 100 changes, and the pull request must be active with a successful merge status. Azure DevOps allows one concurrent review per pull request, five per organization, and two per user. Larger teams can see queued reviews during busy periods.
Teach Copilot what your team wants reviewed
Generic feedback is a starting point. Custom instructions help Copilot focus on rules that matter in your codebase, such as checking for hardcoded secrets, enforcing error handling, or spotting database query problems. You can add instructions at organization, project, repository, and path-specific levels.
For repository-wide instructions, add either .github/copilot-instructions.md or .azuredevops/copilot-instructions.md at the root of the repository. Copilot reads repository instruction files from the pull request's target branch. That means a new instruction file does not affect the pull request that adds it. Merge it first, then it applies to later reviews.
Here is a small example for a .NET repository. Create .azuredevops/copilot-instructions.md, commit it to the target branch, and keep the guidance short and specific.
# Copilot code review instructions
## Security
- Flag hardcoded connection strings, API keys, and secrets.
- Flag SQL built by concatenating user input.
## C# rules
- Check public async methods for cancellation token support where appropriate.
- Flag ignored exceptions and empty catch blocks.
- Prefer parameterized database queries.
## Pull request focus
- Prioritize defects that can affect correctness, security, or production reliability.
- Do not comment on formatting handled by .editorconfig.You can also use files ending in .instructions.md under .github/instructions/ or .azuredevops/instructions/ for path-specific rules. Those files need YAML front matter with an applyTo pattern. For example, applyTo: "**/*.cs" applies rules only to changed C# files. Repository rules have higher precedence than project rules, and project rules have higher precedence than organization rules. Microsoft's custom instructions documentation has the supported file locations and pattern examples.
Use Copilot feedback safely
Copilot can save time by finding issues early, but it can be wrong, miss problems, or suggest a change that does not fit your application. Treat each comment as a review signal. Read the changed code, run tests, and use your team's normal security and approval process.
Do not weaken branch protection because Copilot is enabled. Copilot always submits a Comment review. It cannot approve a pull request, request changes, fulfill a required-reviewer policy, or block a merge. GitHub described this as on-demand review feedback within the Azure DevOps workflow when it announced the feature's technical preview. The GitHub changelog announcement provides useful background on that workflow.
Frequently asked questions
Do I need a GitHub Copilot license to use Copilot code review in Azure DevOps?
No individual GitHub Copilot license is required for this Azure Repos feature. The organization needs an Azure subscription linked to Azure DevOps because usage is billed through Azure Cost Management as GitHub AI credits.
Can Copilot approve my Azure DevOps pull request?
No. Copilot posts a Comment review only. Its review does not approve a pull request, request changes, meet required-reviewer policies, or prevent a merge. A human reviewer and your branch policies remain responsible for the decision.
How do I make Copilot review every pull request automatically?
Enable Copilot code review for the organization and repository, then open Repos > Branches, select Branch policies for the target branch, and enable Automatically request Copilot code review. Set the policy only on branches where you want automatic requests.
Why is GitHub Copilot missing from the pull request reviewers list?
Check that a Project Collection Administrator enabled organization access, that the project or repository is enabled, and that the repository is an Azure Repos Git repository. Also confirm that the Azure DevOps organization has a linked Azure subscription.
How can I limit Copilot code review costs?
Begin with one or two repositories, use an appropriate default effort level, keep pull requests focused, and watch usage in Azure Cost Management. Create a budget alert for the GitHub Copilot for AzDO product meter, remembering that charges can take up to 48 hours to appear.

Sarthak VarshneyTOP 100Posted Nov 30, 2026, 5:32 AM EST
Very helpful