Hi @Abhiram PADYANA ,
Thanks for testing and confirming that the same error occurs with a minimal PR.
Since the review is skipped with the message that the Copilot code review identity does not have sufficient permissions on the repository, and no Copilot review job is created, this points more toward a repository authorization issue than a PR size, prompt budget, indexing, or agent-capacity problem.
One final area worth validating is the permission inheritance path:
- Open Project Settings > Repos > Repositories, select the affected repository, and open Security.
- Select the GitHub Copilot [Organization Name] identity and review the effective values for Read and Contribute to pull requests.
- Hover over each permission and select Why? to see the inheritance path and where the effective value comes from.
- On the same Repositories page, open the top-level Git Repositories (All Repositories) entry and compare its Security settings with the affected repository.
- Confirm that permission inheritance has not been disabled or configured differently for this repository.
- Verify that Enable Copilot code review for pull requests in repository remains enabled after the earlier Disable all / Enable all cycle.
Because Deny permissions generally override Allow, an inherited or group-level Deny could explain why only this repository is affected even when the repository-level permissions appear as Allow.
If the Copilot identity still shows effective Allow permissions, no inherited Deny entries exist, inheritance is configured correctly, and the repository-level toggle remains enabled, then a repository-specific provisioning or authorization issue with the Copilot review identity becomes the most likely explanation.
As Copilot code review is currently a preview feature, I recommend reporting the issue through the Azure DevOps Developer Community and including:
- Azure DevOps organization, project, and repository name/ID
- Affected Pull Request ID or URL
- Exact authorization error message
- Screenshot showing the effective permissions for the GitHub Copilot identity
- Approximate UTC timestamp of the latest failed attempt
- Confirmation that Copilot code reviews work correctly in other repositories within the same organization
This information should help the product team trace any repository-specific authorization or provisioning issue affecting the Copilot review service.
References:
- Configure repository permissions
- Understand permission inheritance
- Copilot code review for Azure Repos
Developer Community: