There’s two tasks you can choose from when deploying a web app to Azure when using an Azure Pipeline:

  1. Azure App Service Deploy task
  2. Azure Web App task

I got them mixed up the other day and only realised my mistake when I discovered that the options I wanted to configure didn’t exist on the task.

I’m not the first to wonder about this. Looks like the advice is use the Web App task if it is a simple web app deployment, but use the App Service task if you need more control over the deployment or you’re deploying one of: