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 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...
The Build announcement I got from Build 2017 Day 1 This year is my second year at Build. Most announcement during Build are given on Day 1. This blog post is a summary of announcement that I heard of d...
Azure Function CI – 3. Deploying the Azure Function from the Build within VSTS This post is the third and last one in a series of posts and will help you by deploying a CI build for a Azure Function. Prerequisites This blog post ...

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.