Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Features
Call Azure DevOps REST APIs from the Invoke REST API task
The InvokeRestAPI@1 task now supports the Azure DevOps service connection. This allows you to call Azure DevOps REST APIs directly from a pipeline, without the need to configure a custom generic service connection and manage authentication yourself.
Select the connection type in the connectionType input and reference your Azure DevOps service connection:
- task: InvokeRESTAPI@1
inputs:
connectionType: 'connectedServiceNameAzureDevOps'
serviceConnection: '<your-azure-devops-service-connection>'
method: 'GET'
urlSuffix: '<organization>/<project>/_apis/build/builds?api-version=7.1'
The connectionType input accepts the following values:
connectedServiceName– Generic service connection (default).connectedServiceNameAzureDevOps– Azure DevOps service connection.connectedServiceNameARM– Azure Resource Manager service connection.
Next steps
Note
These features will roll out over the next two to three weeks.
Head over to Azure DevOps and take a look.
How to provide feedback
We would love to hear what you think about these features. Use the help menu to report a problem or provide a suggestion.

You can also get advice and your questions answered by the community on Stack Overflow.