title: How to create app services for feature branches dynamically in Azure DevOps
body: <p>I'm working on an API in core3.1. We have a build pipeline that builds and unit tests any change for any branch. And release pipelines for development and master branches. These deploy to designated app services in Azure. </p>
  
  <p>Now we would like a release pipeline for feature branches. So what we want is a pipeline that can dynamically created app-services per feature branch and deploy to that app service. And preferably dynamically delete the app-service when the branch is deleted. </p>
  
  <p>Just to clarify, the proces how we would like it:</p>
  
  <pre><code>a developer creates feature branch and pushes it &gt; 
  the build pipeline builds it &gt; 
  an app service gets created automatically &gt; 
  stuff gets deployed to that app service &gt; 
  developers work on the branch and changes get build and deployed to the app service like normal &gt; 
  at some later point a developer deletes branch &gt; 
  app service gets deleted automaticcaly
  </code></pre>
  
  <p>Is there any way to accomplish this? Maybe there is a standard way?
  Feature branches are located in a subfolder, e.g. "feat/feature-branch-name".
  I'm fairly new to Azure and DevOps.
  Any help is appriciated. Thanks in advance. </p>