Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Azure DevOps Services | Azure DevOps Server 2022 - Azure DevOps Server 2019
Every extension has a JSON manifest file that defines basic information about the extension. The file also defines how it can extend and enhance the experience. This article shows you how to create a manifest for your extension to Azure DevOps.
Tip
Check out our newest documentation on extension development using the Azure DevOps Extension SDK.
Create a file named vss-extension.json
at the root of your extension folder. This file contains required attributes, like the extension's ID and its installation targets, where it can run. It also defines the contributions being made by your extension.
See the following example of a typical manifest:
{
"manifestVersion": 1,
"id": "tools",
"version": "0.1.0",
"name": "Fabrikam Tools",
"publisher": "fabrikam",
"description": "Awesome tools to help you and your team do great things everyday.",
"targets": [
{
"id": "Microsoft.VisualStudio.Services"
}
],
"icons": {
"default": "images/fabrikam-logo.png"
},
"scopes": [
"vso.work",
"vso.code_write",
"vso.build_execute"
],
"categories": [
"Azure Boards"
],
"branding": {
"color": "rgb(34, 34, 34)",
"theme": "dark"
},
"content": {
"details": {
"path": "readme.md"
},
"license": {
"path": "eula.md"
}
},
"links": {
"getstarted": {
"uri": "https://www.fabrikam-fiber-inc.com/help/getstarted"
},
"support": {
"uri": "https://www.fabrikam-fiber-inc.com/support"
}
},
"repository": {
"type": "git",
"uri": "https://github.com/fabrikam-fiber-inc/myextension"
},
"contributions": [
{
"id": "showCommits",
"type": "ms.vss-web.action",
"description": "Adds a menu action from builds grid to show associated items.",
"targets": [
"ms.vss-build-web.completed-build-menu"
],
"properties": {
"title": "View associated items",
"uri": "launch.html"
}
}
],
"files": [
{
"path": "launch.html",
"addressable": true
},
{
"path": "node_modules/vss-web-extension-sdk/lib",
"addressable": true,
"packagePath": "lib"
}
]
}
For information about inputs, see ...
These properties are required:
Property | Description | Notes |
---|---|---|
manifestVersion | A number corresponding to the version of the manifest format. | Should be 1 . |
ID | The extension's identifier. | Th ID is a string that must be unique among extensions from the same publisher. It must start with an alphabetic or numeric character and contain 'A' through 'Z', 'a' through 'z', '0' through '9', and '-' (hyphen). Example: sample-extension . |
version | A string specifying the version of an extension. | Should be in the format major.minor.patch , for example 0.1.2 or 1.0.0 . You can also add a fourth number for the following format: 0.1.2.3 |
name | A short, human-readable name of the extension. Limited to 200 characters. | Example: "Fabrikam Agile Board Extension" . |
publisher | The identifier of the publisher. | This identifier must match the identifier the extension is published under. See Create and manage a publisher. |
categories | Array of strings representing the categories your extension belongs to. At least one category must be provided and there's no limit to how many categories you may include. | Valid values: Azure Repos , Azure Boards , Azure Pipelines , Azure Test Plans , and Azure Artifacts .Notes:
- If you're using Azure DevOps Extension Tasks extension to publish, ensure that its version is >= 1.2.8. You might have to approve the extension update because of recent scope changes. - The categories previously mentioned are natively present in Visual Studio Marketplace and Azure DevOps Server 2019 & above. |
targets | The products and services supported by your integration or extension. For more information, see installation targets. | An array of objects, where each object has an id field indicating one of the following:
Microsoft.VisualStudio.Services (extensions that works with Azure DevOps),- Microsoft.TeamFoundation.Server (extension that works with Azure DevOps Server),- Microsoft.VisualStudio.Services.Integration , - Microsoft.TeamFoundation.Server.Integration (integrations that work with Azure DevOps Server) |
{
"manifestVersion": 1,
"id": "tools",
"version": "0.1.0",
"name": "Fabrikam Tools",
"publisher": "fabrikam",
"targets": [
{
"id": "Microsoft.VisualStudio.Services"
}
]
}
Property | Description | Notes |
---|---|---|
scopes | An array of authorization scopes (strings) listing permissions required by your extension. | For example, vso.work and vs.code_write indicates your extension needs read-only access to work items and read/write access to source code (and related resource). Scopes are presented to the user when installing your extension. For more information, see the full list of scopes. |
demands | An array of demands (strings) listing the capabilities required by your extension. | For example, api-version/3.0 indicates that your extension uses version 3.0 APIs, and so can't run in older products that don't support this version. For more information, see the full list of demands. |
baseUri | (Optional) base URL for all relative URLs specified by the extension's contributions. | For example: https://myapp.com/{{account.name}}/ . This property should be left empty if your extension's contents are packaged with your extension. |
contributions | An array of contributions to the system. | |
contributionTypes | An array of contribution types defined by the extension |
{
"scopes": [
"vso.work",
"vso.code_write",
"vso.build_execute"
],
"demands": [
"api-version/3.0"
],
"contributions": [
{
"id": "showCommits",
"type": "ms.vss-web.action",
"description": "Adds a menu action from builds grid to show associated items.",
"targets": [
"ms.vss-build-web.completed-build-menu"
],
"properties": {
"title": "View associated items",
"uri": "launch.html"
}
}
]
}
These optional properties help users discover and learn about your extension:
Property | Description | Notes |
---|---|---|
description | A few sentences describing the extensions. Limited to 200 characters. | The description should be your extension's "elevator pitch" - a couple of lines to describe your extension in the Marketplace and make people want to install it. See the example below |
icons | Dictionary of icons representing the extension. | Valid keys: default (128x128 pixels) of type BMP, GIF, EXIF, JPG, PNG and TIFF). Other keys such as large (512x512 pixels) may be supported in the future. The value of each key is the path to the icon file in the extension |
tags | Array of string tags to help users find your extension. | Examples: agile , project management , task timer , and so on. |
screenshots | Array of images that couldn't be included in your content. | Screenshots are more valuable when featured in your content, and should be used there to help make a quality market details page for your extension. Use screenshots for less important images not featured in your content. Each image should be 1366x768 pixels. The path of each item is the path to the file in the extension. |
content | Dictionary of content files that describe your extension to users. | Every extension should include solid content. This is how you'll show users what your extension can do. Make it rich, consumable, and include screenshots where necessary. Include an overview.md file as your base content piece. Each file is assumed to be in GitHub Flavored Markdown format. The path of each item is the path to the Markdown file in the extension. Valid keys: details . Other keys may be supported in the future. |
links | Dictionary of links that help users learn more about your extension, get support, and move. | Valid keys: getstarted - first steps, how to setup or use. learn - deeper content to help users better understand your extension or service. license - end-user license agreement. privacypolicy - privacy policy for an extension. support - get help and support for an extension. The value of each key is an object with a uri field, which is the absolute URL of the link |
repository | Dictionary of properties describing the source code repository for the extension | Valid Keys: type - Type of repository. Example: git. uri - Absolute URL of the repository. |
badges | Array of links to external metadata badges like TravisCI, Appveyor, and so on, from the approved badges sites | Valid keys: href - Link the user navigates to when selecting the badge. uri - The absolute URL of the badge image to be displayed. description - Description of the badge, to be displayed on hover. |
branding | Dictionary of brand-related properties. | Valid keys: color - primary color of the extension or publisher; can be a hex (#ff00ff), RGB (rgb(100,200,50)), or supported HTML color names (blue). theme - complements the color; use dark for dark branding colors, or light for lighter branding colors. |
By default, all extensions in the Azure DevOps Marketplace are private. They're only visible to the publisher and accounts shared to by the publisher. If your publisher is verified, you can make your extension public by setting the Public
flag in your extension manifest:
{
"galleryFlags": [
"Public"
]
}
Or:
{
"public": true
}
For more information, see Package/Publish/Install.
If your extension's ready for users on the Marketplace to try, but you're still working out a few bugs or adding function, you can mark it as preview
:
{
"galleryFlags": [
"Preview"
]
}
If you intend to sell your extension on the Marketplace, mark it as paid preview. An extension marked free can't be changed to paid.
{
"galleryFlags": [
"Paid",
"Preview"
]
}
If you want to sell your extension on the Marketplace, you can mark it with the Paid
flag and __BYOLENFORCED
tag (starts with two underscores):
{
"galleryFlags": [
"Paid"
],
"tags": [
"__BYOLENFORCED"
]
}
Both the Paid
flag and __BYOLENFORCED
tag need to be present to mark an extension as paid in the Marketplace. Bring-Your-Own-License (BYOL) means the publisher of the extension provides the billing and licensing mechanism for the extension, as it isn't provided by Microsoft for Azure DevOps extensions. All paid extensions are required to define privacy policy, support policy, and an end-user license agreement. Publishers must provide content for the pricing tab in Marketplace as follows:
{
"content": {
"details": {
"path": "overview.md"
},
"pricing": {
"path": "pricing.md"
}
}
}
You also need to add a new section in your extension manifest to override paid licensing. In the future, we remove the paid licensing check and no longer require the override. For now, ensure your extension displays as expected. Each override consists of an "ID" and a "behavior." Make the "ID" match the ID of the contributions defined in the manifest.
"licensing": {
"overrides": [
{ "id": "my-hub", "behavior": " AlwaysInclude" }
]
}
If your paid BYOL extension offers a trial period (we recommend so), then you can specify the length of the trial in days:
{
"galleryproperties": {
"trialDays": "30"
}
}
Note
If you want to target Azure DevOps, but don't wish to surface a Download option for your extension, then add the __DoNotDownload
tag (starts with two underscores) to the extension manifest.
If you're moving an extension from the previously offered billing & licensing from Microsoft to the BYOL model, then contact us for suitable steps.
{
"description": "Awesome tools to help you and your team do great things everyday.",
"icons": {
"default": "images/fabrikam-logo.png"
},
"categories": [
"Plan and track"
],
"tags": [
"working",
"people person",
"search"
],
"content": {
"details": {
"path": "overview.md"
},
"license": {
"path": "license-terms.md"
}
},
"links": {
"home": {
"uri": "https://www.fabrikam-fiber-inc.com"
},
"getstarted": {
"uri": "https://www.fabrikam-fiber-inc.com/help/getstarted"
},
"learn": {
"uri": "https://www.fabrikam-fiber-inc.com/features"
},
"support": {
"uri": "https://www.fabrikam-fiber-inc.com/support"
},
"repository": {
"uri": "https://github.com/fabrikam-fiber-inc/tools"
},
"issues": {
"uri": "https://github.com/fabrikam-fiber-inc/tools/issues"
}
},
"repository": {
"type": "git",
"uri": "https://github.com/fabrikam-fiber-inc/tools"
},
"badges": [
{
"href": "https://travis.ci/fabrikam-fiber-inc/myextension",
"uri": "https://travis.ci/fabrikam-fiber-inc/myextension.svg?branch=master",
"description": "TravisCI build for the project"
},
{
"href": "https://ci.appveyor.com/projects/fabrikam-fiber-inc/myextension",
"uri": "https://ci.appveyor.com/api/projects/status/vlg2sgs2y7tsdxpj4c?svg=true",
"description": "AppVeyor build for the project"
}
],
"branding": {
"color": "rgb(34, 34, 34)",
"theme": "dark"
},
"screenshots": [
{
"path": "screenshots/screen1.png"
},
{
"path": "screenshots/screen2.png"
}
]
}
All extensions on the Visual Studio Marketplace have a Questions and Answers (Q & A) section to allow one-on-one public conversations between extension users and publishers. Publishers can choose between Marketplace Q & A, GitHub issues, or a custom Q & A URL. You can disable Q & A in the Marketplace using the CustomerQnASupport
property in the manifest.
Default experience (No changes to manifest are required)
For a different experience than one of the default options, use the CustomerQnASupport
property in the manifest.
{
"CustomerQnASupport": {
"enablemarketplaceqna": true,
"url": "http://uservoice.visualstudio.com"
}
}
Properties for the Customer Q & A Support section:
true
for marketplace, or custom Q&A; false for disabling Q&A{
"CustomerQnASupport": {
"enablemarketplaceqna":"true",
"url": "http://uservoice.visualstudio.com"
}
}
{
"CustomerQnASupport": {
"enablemarketplaceqna":"true"
}
}
{
"CustomerQnASupport": {
"enablemarketplaceqna":"false"
}
}
In your extension, you can define one or more scopes. These scopes determine which resources your extension can access and the operations permitted to perform on those resources. The scopes you specify in your extension manifest are the scopes set on access tokens issued to your extension. For more information, see Auth and security.
If no scopes are specified, extensions are only provided access to user profile and extension data.
Category | Scope | Name | High-risk | Description | Inherits From |
---|---|---|---|---|---|
Advanced Security | vso.advsec |
AdvancedSecurity (read) | Yes | Grants the ability to read alerts, result instances, analysis result instances. | |
vso.advsec_write |
AdvancedSecurity (read and write) | Yes | Grants the ability to upload analyses in sarif | vso.advsec |
|
vso.advsec_manage |
AdvancedSecurity (read, write, and manage) | Yes | Grants the ability to upload analyses in sarif | vso.advsec_write |
|
Agent Pools | vso.agentpools |
Agent Pools (read) | Grants the ability to view tasks, pools, queues, agents, and currently running or recently completed jobs for agents. | ||
vso.agentpools_manage |
Agent Pools (read, manage) | Yes | Grants the ability to manage pools, queues, and agents. | vso.agentpools |
|
vso.environment_manage |
Environment (read, manage) | Yes | Grants the ability to manage pools, queues, agents, and environments. | vso.agentpools_manage |
|
Analytics | vso.analytics |
Analytics (read) | Grants the ability to query analytics data. | ||
Auditing | vso.auditlog |
Audit Log (read) | Grants the ability to read the auditing log to users. | ||
vso.auditstreams_manage |
Audit Streams (read) | Yes | Grants the ability to manage auditing streams to users. | vso.auditlog |
|
Build | vso.build |
Build (read) | Grants the ability to access build artifacts, including build results, definitions, and requests, and the ability to receive notifications about build events via service hooks. | vso.hooks_write |
|
vso.build_execute |
Build (read and execute) | Yes | Grants the ability to access build artifacts, including build results, definitions, and requests, and the ability to queue a build, update build properties, and the ability to receive notifications about build events via service hooks. | vso.build |
|
Code | vso.code |
Code (read) | Grants the ability to read source code and metadata about commits, changesets, branches, and other version control artifacts. Also grants the ability to search code and get notified about version control events via service hooks. | vso.hooks_write |
|
vso.code_write |
Code (read and write) | Yes | Grants the ability to read, update, and delete source code, access metadata about commits, changesets, branches, and other version control artifacts. Also grants the ability to create and manage pull requests and code reviews and to receive notifications about version control events via service hooks. | vso.code |
|
vso.code_manage |
Code (read, write, and manage) | Yes | Grants the ability to read, update, and delete source code, access metadata about commits, changesets, branches, and other version control artifacts. Also grants the ability to create and manage code repositories, create and manage pull requests and code reviews, and to receive notifications about version control events via service hooks. | vso.code_write |
|
vso.code_full |
Code (full) | Yes | Grants full access to source code, metadata about commits, changesets, branches, and other version control artifacts. Also grants the ability to create and manage code repositories, create and manage pull requests and code reviews, and to receive notifications about version control events via service hooks. Also includes limited support for Client OM APIs. | vso.code_manage |
|
vso.code_status |
Code (status) | Grants the ability to read and write commit and pull request status. | |||
Connected Server | vso.connected_server |
Connected Server | Grants the ability to access endpoints needed from an on-premises connected server. | ||
Entitlements | vso.entitlements |
Entitlements (Read) | Provides read only access to licensing entitlements endpoint to get account entitlements. | ||
vso.memberentitlementmanagement |
MemberEntitlement Management (read) | Grants the ability to read users, their licenses as well as projects and extensions they can access. | |||
vso.memberentitlementmanagement_write |
MemberEntitlement Management (write) | Yes | Grants the ability to manage users, their licenses as well as projects and extensions they can access. | vso.memberentitlementmanagement |
|
Extensions | vso.extension |
Extensions (read) | Grants the ability to read installed extensions. | vso.profile |
|
vso.extension_manage |
Extensions (read and manage) | Yes | Grants the ability to install, uninstall, and perform other administrative actions on installed extensions. | vso.extension |
|
vso.extension.data |
Extension data (read) | Grants the ability to read data (settings and documents) stored by installed extensions. | vso.profile |
||
vso.extension.data_write |
Extension data (read and write) | Grants the ability to read and write data (settings and documents) stored by installed extensions. | vso.extension.data |
||
Github Connections | vso.githubconnections |
GitHub Connections (read) | Grants the ability to read GitHub connections and GitHub repositories data. | ||
vso.githubconnections_manage |
GitHub Connections (read and manage) | Yes | Grants the ability to read and manage GitHub connections and GitHub repositories data | vso.githubconnections |
|
Graph & identity | vso.graph |
Graph (read) | Grants the ability to read user, group, scope, and group membership information. | ||
vso.graph_manage |
Graph (manage) | Yes | Grants the ability to read user, group, scope and group membership information, and to add users, groups, and manage group memberships. | vso.graph |
|
vso.identity |
Identity (read) | Grants the ability to read identities and groups. | |||
vso.identity_manage |
Identity (manage) | Yes | Grants the ability to read, write, and manage identities and groups. | vso.identity |
|
Machine Group | vso.machinegroup_manage |
Deployment group (read, manage) | Yes | Provides ability to manage deployment group and agent pools. | vso.agentpools_manage |
Marketplace | vso.gallery |
Marketplace | Grants read access to public and private items and publishers. | vso.profile |
|
vso.gallery_acquire |
Marketplace (acquire) | Grants read access and the ability to acquire items. | vso.gallery |
||
vso.gallery_publish |
Marketplace (publish) | Yes | Grants read access and the ability to upload, update, and share items. | vso.gallery |
|
vso.gallery_manage |
Marketplace (manage) | Yes | Grants read access and the ability to publish and manage items and publishers. | vso.gallery_publish |
|
Notifications | vso.notification |
Notifications (read) | Provides read access to subscriptions and event metadata, including filterable field values. | vso.profile |
|
vso.notification_write |
Notifications (write) | Provides read and write access to subscriptions and read access to event metadata, including filterable field values. | vso.notification |
||
vso.notification_manage |
Notifications (manage) | Provides read, write, and management access to subscriptions and read access to event metadata, including filterable field values. | vso.notification_write |
||
vso.notification_diagnostics |
Notifications (diagnostics) | Provides access to notification-related diagnostic logs and provides the ability to enable diagnostics for individual subscriptions. | vso.notification |
||
Packaging | vso.packaging |
Packaging (read) | Grants the ability to read feeds and packages. | vso.profile |
|
vso.packaging_write |
Packaging (read and write) | Yes | Grants the ability to create and read feeds and packages. | vso.packaging |
|
vso.packaging_manage |
Packaging (read, write, and manage) | Yes | Grants the ability to create, read, update, and delete feeds and packages. | vso.packaging_write |
|
Pipeline Resources | vso.pipelineresources_use |
Pipeline Resources (use) | Yes | Grants the ability to approve a pipeline's request to use a protected resource: agent pool, environment, queue, repository, secure files, service connection, and variable group. | |
vso.pipelineresources_manage |
Pipeline Resources (use and manage) | Yes | Grants the ability to manage a protected resource or a pipeline's request to use a protected resource: agent pool, environment, queue, repository, secure files, service connection, and variable group. | vso.pipelineresources_manage |
|
Project and Team | vso.project |
Project and team (read) | Grants the ability to read projects and teams. | ||
vso.project_write |
Project and team (read and write) | Grants the ability to read and update projects and teams. | vso.project |
||
vso.project_manage |
Project and team (read, write and manage) | Yes | Grants the ability to create, read, update, and delete projects and teams. | vso.project_write |
|
Release | vso.release |
Release (read) | Grants the ability to read release artifacts, including releases, release definitions and release environment. | vso.profile |
|
vso.release_execute |
Release (read, write and execute) | Yes | Grants the ability to read and update release artifacts, including releases, release definitions and release environment, and the ability to queue a new release. | vso.release |
|
vso.release_manage |
Release (read, write, execute and manage) | Yes | Grants the ability to read, update, and delete release artifacts, including releases, release definitions and release environment, and the ability to queue and approve a new release. | vso.release_manage |
|
Secure Files | vso.securefiles_read |
Secure Files (read) | Yes | Grants the ability to read secure files. | |
vso.securefiles_write |
Secure Files (read, create) | Yes | Grants the ability to read and create secure files. | vso.securefiles_read |
|
vso.securefiles_manage |
Secure Files (read, create, and manage) | Yes | Grants the ability to read, create, and manage secure files. | vso.securefiles_write |
|
Security | vso.security_manage |
Security (manage) | Yes | Grants the ability to read, write, and manage security permissions. | |
Service Connections | vso.serviceendpoint |
Service Endpoints (read) | Grants the ability to read service endpoints. | vso.profile |
|
vso.serviceendpoint_query |
Service Endpoints (read and query) | Grants the ability to read and query service endpoints. | vso.serviceendpoint |
||
vso.serviceendpoint_manage |
Service Endpoints (read, query and manage) | Yes | Grants the ability to read, query, and manage service endpoints. | vso.serviceendpoint_query |
|
Service Hooks | vso.hooks |
Service hooks (read) | Grants the ability to read service hook subscriptions and metadata, including supported events, consumers, and actions. (No longer public.) | vso.profile |
|
vso.hooks_write |
Service hooks (read and write) | Grants the ability to create and update service hook subscriptions and read metadata, including supported events, consumers, and actions. (No longer public.) | vso.hooks |
||
vso.hooks_interact |
Service hooks (interact) | Grants the ability to interact and perform actions on events received via service hooks. (No longer public.) | vso.profile |
||
Settings | vso.settings |
Settings (read) | Grants the ability to read settings. | ||
vso.settings_write |
Settings (read and write) | Grants the ability to create and read settings. | |||
Symbols | vso.symbols |
Symbols (read) | Grants the ability to read symbols. | vso.profile |
|
vso.symbols_write |
Symbols (read and write) | Grants the ability to read and write symbols. | vso.symbols |
||
vso.symbols_manage |
Symbols (read, write and manage) | Grants the ability to read, write, and manage symbols. | vso.symbols_write |
||
Task Groups | vso.taskgroups_read |
Task Groups (read) | Grants the ability to read task groups. | ||
vso.taskgroups_write |
Task Groups (read, create) | Grants the ability to read and create task groups. | vso.taskgroups_read |
||
vso.taskgroups_manage |
Task Groups (read, create and manage) | Yes | Grants the ability to read, create and manage taskgroups. | vso.taskgroups_write |
|
Team Dashboard | vso.dashboards |
Team dashboards (read) | Grants the ability to read team dashboard information. | ||
vso.dashboards_manage |
Team dashboards (manage) | Grants the ability to manage team dashboard information. | vso.dashboards |
||
Test Management | vso.test |
Test management (read) | Grants the ability to read test plans, cases, results and other test management related artifacts. | vso.profile |
|
vso.test_write |
Test management (read and write) | Grants the ability to read, create, and update test plans, cases, results and other test management related artifacts. | vso.test |
||
Threads | vso.threads_full |
PR threads | Grants the ability to read and write to pull request comment threads. | ||
Tokens | vso.tokens |
Delegated Authorization Tokens | Yes | Grants the ability to manage delegated authorization tokens to users. | |
vso.tokenadministration |
Token Administration | Yes | Grants the ability to manage (view and revoke) existing tokens to organization administrators. | ||
User Profile | vso.profile |
User profile (read) | Grants the ability to read your profile, accounts, collections, projects, teams, and other top-level organizational artifacts. | ||
vso.profile_write |
User profile (write) | Grants the ability to write to your profile. | vso.profile |
||
Variable Groups | vso.variablegroups_read |
Variable Groups (read) | Grants the ability to read variable groups. | ||
vso.variablegroups_write |
Variable Groups (read, create) | Grants the ability to read and create variable groups. | vso.variablegroups_read |
||
vso.variablegroups_manage |
Variable Groups (read, create and manage) | Yes | Grants the ability to read, create and manage variable groups. | vso.variablegroups_write |
|
Wiki | vso.wiki |
Wiki (read) | Grants the ability to read wikis, wiki pages and wiki attachments. Also grants the ability to search wiki pages. | ||
vso.wiki_write |
Wiki (read and write) | Grants the ability to read, create and updates wikis, wiki pages and wiki attachments. | vso.wiki |
||
Work Items | vso.work |
Work items (read) | Grants the ability to read work items, queries, boards, area and iterations paths, and other work item tracking related metadata. Also grants the ability to execute queries, search work items and to receive notifications about work item events via service hooks. | vso.hooks_write |
|
vso.work_write |
Work items (read and write) | Grants the ability to read, create, and update work items and queries, update board metadata, read area and iterations paths other work item tracking related metadata, execute queries, and to receive notifications about work item events via service hooks. | vso.work |
||
vso.work_full |
Work items (full) | Grants full access to work items, queries, backlogs, plans, and work item tracking metadata. Also provides the ability to receive notifications about work item events via service hooks. | vso.work_write |
||
User Impersonation | user_impersonation |
User Impersonation | Yes | Have full access to Visual Studio Team Services REST APIs. Request and/or consent this scope with caution as it is very powerful! |
You can change the scope of a published extension. If you previously installed your extension (and authorized the previous set of scopes), authorize the new scopes before you can upgrade to the newest version.
The Action Required section of the Extension settings hub shows a user that, if any, installed extensions require authorization:
An administrator can then review and authorize the new set of scopes:
As the name implies, installation targets define the products and services where you can install your extension. Microsoft.VisualStudio.Services
is the most common installation target and indicates that the extension can be installed into Azure DevOps.
The installation targets for an extension or integration are specified via the targets
field in the manifest.
Supported identifiers for extensions:
Microsoft.VisualStudio.Services.Cloud
: installs into Azure DevOps ServicesMicrosoft.TeamFoundation.Server
: installs into Azure DevOps ServerMicrosoft.VisualStudio.Services
: installs into both. Shortcut for Microsoft.VisualStudio.Services.Cloud
and Microsoft.TeamFoundation.Server
version [14.2,)
Supported identifiers for integrations:
Microsoft.VisualStudio.Services.Cloud.Integration
: integrates with Azure DevOps ServicesMicrosoft.TeamFoundation.Server.Integration
: integrates with Azure DevOps ServerMicrosoft.VisualStudio.Services.Integration
: integrates with both. Shortcut for Microsoft.VisualStudio.Services.Cloud.Integration
and Microsoft.TeamFoundation.Server.Integration
For more information, see Extensibility points.
{
"targets": [
{
"id": "Microsoft.VisualStudio.Services"
}
]
}
{
"targets": [
{
"id": "Microsoft.VisualStudio.Services.Cloud"
}
]
}
Installation targets can also be used in the manifest of integrations. For example, products, apps, or tools that work with, but don't install into Azure DevOps.
{
"targets": [
{
"id": "Microsoft.VisualStudio.Services.Integration"
}
]
}
{
"targets": [
{
"id": "Microsoft.TeamFoundation.Server.Integration"
}
]
}
Some installation target identifiers, like Microsoft.TeamFoundation.Server
and Microsoft.TeamFoundation.Server.Integration
, support an optional version range. This optional version range further clarifies the supported releases the extension or integration is supported on.
The version or version range is specified via the version
field on the installation target object. This value can be either:
15.0
(2017 RTM only)[14.0)
(2015 RTM and later), [14.3,15.1]
(2015 Update 3 through 2017 Update 1). Range values are refined using:
[
: minimum version inclusive]
: maximum version inclusive(
: minimum version exclusive)
: maximum version exclusiveVersion numbers for Azure DevOps Server:
Release | Releases | Version |
---|---|---|
2010 | All releases | 10.0 |
2012 | All releases | 11.0 |
2013 | RTM and updates | 12.0, 12.1, 12.2, 12.3, 12.4 |
2015 | RTM and updates | 14.0, 14.1, 14.2, 14.3 |
2017 | RTM and updates | 15.0, 15.1 |
2018 | RTM and updates | 16.0 |
2019 | RTM and updates | 17.0 |
2020 | RTM and updates | 18.0 |
{
"targets": [
{
"id": "Microsoft.VisualStudio.Services.Cloud"
},
{
"id": "Microsoft.TeamFoundation.Server",
"version": "[15.0,)"
}
]
}
Microsoft.VisualStudio.Services
is a shortcut for Azure DevOps.
{
"targets": [
{
"id": "Microsoft.VisualStudio.Services"
}
]
}
is equivalent to:
{
"targets": [
{
"id": "Microsoft.VisualStudio.Services.Cloud"
},
{
"id": "Microsoft.TeamFoundation.Server",
"version": "[14.2,)"
}
]
}
Installation targets and demands are used together to present users with a correct view of the products and services your extension or integration is compatible with. For example, specifying an installation target of Microsoft.VisualStudio.Services
with a demand of api-version/3.0
means the extension works with Azure DevOps.
Tip
For more information on REST APIs, see the REST API Reference.
{
"targets": [
{
"id": "Microsoft.VisualStudio.Services"
}
],
"demands": [
"api-version/3.0"
]
}
Resolves to the following installation targets:
Microsoft.VisualStudio.Services.Cloud
Microsoft.TeamFoundation.Server
, version: [15.0,)
{
"targets": [
{
"id": "Microsoft.VisualStudio.Services.Integration"
}
],
"demands": [
"api-version/2.0"
]
}
Resolves to the following installation targets:
Microsoft.VisualStudio.Services.Cloud.Integration
Microsoft.TeamFoundation.Server.Integration
, version: [14.0,)
Demands let you specify capabilities and other features required by your extension. You can use these demands to limit where your extension can be published or installed.
Demands get used by the Visual Studio Marketplace to list the products and environments your extension is compatible with, which helps customers understand whether your extension works with their version of Azure DevOps, for example.
See the following example of how demands get specified in the extension manifest.
{
"demands": [
"api-version/3.0",
"contribution/ms.vss-dashboards-web.widget-catalog"
]
}
In this example, the extension demands version 3.0 of the APIs, which means it can only be installed to Azure DevOps. It also requires the ms.vss-dashboards-web
extension (and its widget-catalog
contribution) to be installed (and enabled) in the collection before your extension can be installed.
Type | Description | Checked at publish? | Checked at install? |
---|---|---|---|
environment/cloud |
Requires running in a cloud environment | Yes | Yes |
environment/onprem |
Requires running in an on-premises environment | Yes | Yes |
api-version/{version} |
Requires a specific API version (minimum) | No | Yes |
extension/{id} |
Requires a specific extension be installed/enabled | No | Yes |
contribution/{id} |
Requires a specific contribution be available | No | Yes |
contributionType/{id} |
Requires a specific contribution type be available | No | Yes |
Note
environment/cloud
and environment/onprem
only when your extension has topology-related requirements that require running in that particular environment.extension
, contribution
, and contributionType
demands are evaluated at install time and require that the specified extension is already installed and enabled in the organization or collection.The files
section is where you reference any files you wish to include in your extension. You can add both folders and individual files:
{
"files": [
{
"path": "hello-world.html", "addressable": true
},
{
"path": "scripts", "addressable": true
},
{
"path": "images/logo.png", "addressable": true, "packagePath": "/"
}
]
}
Properties for the Files section:
Each contribution entry has the following properties:
For more information, see the contribution model overview.
Each contribution entry has the following properties:
Property descriptions have the following properties:
For more information, see the contribution model overview.
Use unique identifiers to reference contributions and contribution types. Reference types with the type
property, and reference other contributions with the targets
property.
ms.vss-web.hub
is the full identifier for the contribution with identifier of hub
in the vss-web
extension published by the "ms" (Microsoft) publisher..
) followed
by the contribution identifier. For example, .hub
might be used within the vss-web
extension mentioned previously as a shortcut for ms.vss-web.hub
.Some contributions act as containers targeted by other contributions.
For information on adding an icon to your hub, check out the hub icon guidance.
The Marketplace only supports badges from the following trusted services:
Note
Replace vsmarketplacebadge.apphb.com
with vsmarketplacebadges.dev
.
To show a badge from another service, contact Customer Support at the Developer Community.
The following extension contributes an action to the completed builds context menu and a hub to the Build hub group:
{
"manifestVersion": 1,
"id": "tools",
"version": "0.1.0",
"name": "Fabrikam Tools",
"publisher": "fabrikam",
"description": "Awesome tools to help you and your team do great things everyday.",
"targets": [
{
"id": "Microsoft.VisualStudio.Services"
}
],
"demands": [
"api-version/3.0"
],
"icons": {
"default": "images/fabrikam-logo.png"
},
"scopes": [
"vso.work",
"vso.code_write"
],
"categories": [
"Plan and track"
],
"tags": [
"working",
"people person",
"search"
],
"branding": {
"color": "rgb(34, 34, 34)",
"theme": "dark"
},
"screenshots": [
{
"path": "screenshots/screen1.png"
},
{
"path": "screenshots/screen2.png"
}
],
"content": {
"details": {
"path": "overview.md"
},
"license": {
"path": "eula.md"
}
},
"links": {
"home": {
"uri": "https://www.fabrikam-fiber-inc.com"
},
"getstarted": {
"uri": "https://www.fabrikam-fiber-inc.com/help/getstarted"
},
"learn": {
"uri": "https://www.fabrikam-fiber-inc.com/features"
},
"support": {
"uri": "https://www.fabrikam-fiber-inc.com/support"
},
"repository": {
"uri": "https://github.com/fabrikam-fiber-inc/tools"
},
"issues": {
"uri": "https://github.com/fabrikam-fiber-inc/tools/issues"
}
},
"repository": {
"type": "git",
"uri": "https://github.com/fabrikam-fiber-inc/myextension"
},
"badges": [
{
"href": "https://travis.ci/fabrikam-fiber-inc/myextension",
"uri": "https://travis.ci/fabrikam-fiber-inc/myextension.svg?branch=master",
"description": "TravisCI build for the project"
},
{
"href": "https://ci.appveyor.com/projects/fabrikam-fiber-inc/myextension",
"uri": "https://ci.appveyor.com/api/projects/status/vlg2sgs2y7tsdxpj4c?svg=true",
"description": "AppVeyor build for the project"
}
],
"contributions": [
{
"id": "showCommits",
"type": "ms.vss-web.action",
"description": "Adds a menu action from builds grid to show associated items.",
"targets": [
"ms.vss-build-web.completed-build-menu"
],
"properties": {
"title": "View associated items",
"uri": "launch.html"
}
}
]
}
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayTraining
Learning path
Use advance techniques in canvas apps to perform custom updates and optimization - Training
Use advance techniques in canvas apps to perform custom updates and optimization
Certification
Microsoft Certified: Identity and Access Administrator Associate - Certifications
Demonstrate the features of Microsoft Entra ID to modernize identity solutions, implement hybrid solutions, and implement identity governance.