Azure Repos · OAuth Scopes

Azure Repos OAuth Scopes

OAuth 2.0 derived

Azure Repos publishes 3 OAuth 2.0 scopes via the authorizationCode flow. Scopes are the fine-grained permissions an application requests at authorization time to act against the Azure Repos API on a user’s behalf.

Tokens are issued from https://app.vssps.visualstudio.com/oauth2/token.

This index is generated from the provider’s OpenAPI security definitions (and, where available, its documented scope reference) and refreshes on every APIs.io network build. Browse every provider’s scopes at scopes.apis.io.

DevOpsGitRepositoriesSource ControlTFVCVersion Control
Scopes: 3 Flows: authorizationCode Method: derived

OAuth endpoints

Authorization URL
https://app.vssps.visualstudio.com/oauth2/authorize
Token URL
https://app.vssps.visualstudio.com/oauth2/token
Flows
authorizationCode

Scopes (3)

ScopeDescriptionFlows
vso.code Read source code and metadata about commits, changesets, branches, and other version control artifacts authorizationCode
vso.code_manage Read, create, manage, and delete repositories and branches authorizationCode
vso.code_write Read, create, and manage pull requests and code authorizationCode

Source

OAuth Scopes

microsoft-azure-repo-scopes.yml Raw ↑
generated: '2026-07-11'
method: derived
source: openapi/azure-repo-git-api-openapi.yml
schemes:
- name: oauth2
  source: openapi/azure-repo-git-api-openapi.yml
  flows:
  - flow: authorizationCode
    authorizationUrl: https://app.vssps.visualstudio.com/oauth2/authorize
    tokenUrl: https://app.vssps.visualstudio.com/oauth2/token
  description: OAuth 2.0 authorization code flow for Azure DevOps Services. Requires the vso.code
    scope for read operations and vso.code_write for write operations.
scopes:
- scope: vso.code
  description: Read source code and metadata about commits, changesets, branches, and other
    version control artifacts
  flows:
  - authorizationCode
  sources:
  - openapi/azure-repo-git-api-openapi.yml
- scope: vso.code_manage
  description: Read, create, manage, and delete repositories and branches
  flows:
  - authorizationCode
  sources:
  - openapi/azure-repo-git-api-openapi.yml
- scope: vso.code_write
  description: Read, create, and manage pull requests and code
  flows:
  - authorizationCode
  sources:
  - openapi/azure-repo-git-api-openapi.yml