CI\CD Azure Web App using Visual Studio Team Service
  1. Create the application in visual studio.
  2. Then push that code to the git and also import that code in visual studio team services.
    • Create a new project in VSTS

    • Please import the git repository and of your project

  3. Then create the build for that application in VSTS.
    • Go to build page for creating a build definition for your project
    • Click new definition and choose a template that build’s azure web app

    • Please mention the agent to run the build process.
    • In that agent only we can find the build and published file, so we need to mention the same agent in release management then only we can find the published folder and process the deployment easily.

    • Please authorise the azure subscription and it will show the azure web apps in your subrcription, you can choose the azure web app in app service name.

  1. Create release for deployment to Azure web app service.
    • Please mention the agent for run the deployment through agent.

    • Please mention the azure subscription and azure app service name.
    • Then release the deployment it will deploy to mention app service in azure portal.

    CI\CD for Azure web app using VSTS online created.

We can run the agent as a service in server using below setups.

First download the agent setup from agent pools for running that agent as a service in our VM.

You can download the agent as per your requirement eg: Linux , windows

Then go to the downloaded folder and run the config.cmd file

Asking your server url eg:

Enter the PAT(Personal Access Tokens) we can generate from the users security.

To add the PAT, please click add and mention the deploy and build agent service then click add or submit. It shows you the PAT please copy and paste it in the cmd.

It will ask for an agent pool name, when we give the corresponding pool name the agent will run based on the given pool name.

After configuring the agent , please run the run.cmd file in downloaded folder. It can run the TFS agent in our VMs.

Finally we are running the TFS agent as a service in our VMs, it can use our system capabilities.

CloudIQ is a leading Cloud Consulting and Solutions firm that helps businesses solve today’s problems and plan the enterprise of tomorrow by integrating intelligent cloud solutions. We help you leverage the technologies that make your people more productive, your infrastructure more intelligent, and your business more profitable. 


626 120th Ave NE, B102, Bellevue,

WA, 98005.


No. 3 & 4, Venkateswara Avenue,Bazaar Main Rd, Ramnagar South, Madipakkam, Chennai - 600091

© 2019 CloudIQ Technologies. All rights reserved.