vso.*) on the Azure DevOps resource, not Microsoft Graph. Wiki and work-item search actions that first list or resolve projects also require vso.project. Sites.Selected does not apply.
Minimal scopes per action
Each Azure DevOps connection also requests
openid, offline_access, and vso.profile. These connection scopes apply in addition to the action scopes in the table.| Action | Description | Minimum scopes |
|---|---|---|
| Add work item comment | Adds a comment to a work item. | vso.work_write |
| Check wiki page access | Checks whether the connected account can still read a wiki page. | vso.wiki |
| Commit files | Pushes an atomic commit with file creates, edits, or deletes. | vso.code_write |
| Create branch | Creates a Git branch from an existing branch or commit SHA. | vso.code_write |
| Create pull request | Creates a pull request between branches. | vso.code_write |
| Create wiki page | Creates a new Markdown page in a wiki. | vso.wiki_write |
| Create work item | Creates a work item in a project. | vso.work_write |
| Download wiki page | Downloads a wiki page as Markdown. | vso.wiki |
| Find users | Searches identities by name or email for work-item assignment. | vso.identity |
| Get current user | Returns the signed-in Azure DevOps user profile. | vso.profile |
| Get pull request | Gets a pull request by project, repository, and ID, or by URL. | vso.code |
| Get sprint capacity | Gets team member capacity and days off for a sprint. | vso.work |
| Get wiki page | Reads a wiki page by project, wiki, and page path. | vso.wiki |
| Get work item | Gets a work item by ID or URL. | vso.work |
| Get work item comments | Lists comments on a work item. | vso.work |
| Get work item type schema | Gets fields, allowed values, and states for a work item type. | vso.work |
| List branches | Lists Git branches in a repository. | vso.code |
| List projects | Lists projects the signed-in user can access. | vso.project |
| List repositories | Lists Git repositories in a project or organization. | vso.code |
| List sprints | Lists iterations for a team in a project. | vso.work |
| List teams | Lists teams in the organization, optionally limited to one project. | vso.project |
| List wiki pages | Lists exact page paths in a wiki. | vso.wiki |
| List wiki pages in folder | Lists Markdown pages in a wiki, including nested pages. | vso.wiki |
| List wikis | Lists wikis in a project. | vso.wiki |
| List work item types | Lists work item types available in a project. | vso.work |
| Merge pull request | Completes a pull request into its target branch. | vso.code_write |
| New work item | Polling trigger when a new work item is created. | vso.work |
| Resolve project | Resolves a project by name or ID. | vso.project |
| Resolve team | Resolves a team by name or ID. | vso.project |
| Resolve wiki | Finds a wiki, including project listing when the wiki is not already known. | vso.wikivso.project |
| Resolve work item | Resolves a work item by ID, URL, or title. | vso.work |
| Search wikis | Searches accessible wiki roots by project or wiki name. | vso.wikivso.project |
| Search work items | Searches work items, including a project lookup when a project filter is set. | vso.workvso.project |
| Update work item | Updates fields on an existing work item. | vso.work_write |
| Updated work item | Polling trigger when an existing work item is modified. | vso.work |