Invoke Azure Function in your Visual Studio Team Services CI/CD pipeline

A utility task is available for Visual Studio Team Services (VSTS) to invoke an http triggered Azure function. The ability to invoke a Function from your CI/CD pipeline offers a lot of new possibilities within those pipelines.


The Arguments that you can configure on the utility task:

Argument Description
Azure function URL The URL of the Azure function to invoke.
Function key The value of the available function or the host key for the function to invoke.
Request body The request body for the Azure function call.
Execution mode Synchronous mode (the default), or Asynchronous call where the Azure function calls back to update the timeline record.
Response parse expression How to parse the response body for success.



When adding this task to a CI/CD pipeline you have to add a “Agentless phase”. To invoke an Azure Function an agent isn’t required.



In the agentless phase add the “Invoke Azure Function” task.



And configure the action as needed.

Related Posts

VSTS Extension for Azure Role Based Access Control Today I published an extension for Visual Studio Team Services (VSTS) that gives you the ability to add and remove role based access assignments in Az...
Publish PowerBI files with Visual Studio Team Services Today I published an extension for Visual Studio Team Services (VSTS) that gives you the ability to deploy PowerBI files (pbix) to It use...
VSTS build or release agent on a self hosted machine in Azure or on premise You can think of many situations where you would like to create a self hosted machine for Visual Studio team services (VSTS). Installing and configuri...
My first public VSTS Extension A couple of days ago I started developing extensions for Build and Release pipelines of Visual Studio Team Services (VSTS). One of these extensions is...
Listing Azure Services within a CSV file In some situations you will look into a current Azure Environment and the setup/governance of it and need to migrate or move resources around. The ...
Azure Event Grid with Custom Events As of yesterday (16-8-2017) the public preview of Azure Event Grid is live. Azure Event Grid is a fully managed event routing service. Azure Event Gri...

Leave a Reply

Your email address will not be published. Required fields are marked *