AzureRmWebAppDeployment@2 is retired: replace it with AzureRmWebAppDeployment@5
The short answer
- Retirement date
- Removal date
- . Pipelines that still use it fail after removal.
- Replacement
AzureRmWebAppDeployment@5- Kind of migration
- manual migration
- Automatic rewrite
- No. This task needs a manual migration. trasloco modernize --check still finds the step.
- Recommended action
- Migrate this step manually to AzureRmWebAppDeployment@5, reviewing the documented behavior and input differences.
Official sources
- Official task retirement announcement
- Task definition: AzureRmWebAppDeployment (task.json)
- Task definition: AzureRmWebAppDeploymentV5 (task.json)
Last verified:
Why does my pipeline show a retirement error for AzureRmWebAppDeployment@2?
On , Azure Pipelines shows a retirement error for AzureRmWebAppDeployment@2, but the run does not fail. On , pipelines that still use AzureRmWebAppDeployment@2 fail.
Find it in your pipelines
With trasloco:
trasloco modernize --check
Install trasloco from the latest release.
With plain grep, nothing to install:
grep -rniwF 'AzureRmWebAppDeployment@2' --include='*.yml' --include='*.yaml' .
How to migrate
Migrate this step manually to AzureRmWebAppDeployment@5, reviewing the documented behavior and input differences.
The task definition of the replacement is linked under official sources above.
AzureRmWebAppDeployment@2 retirement FAQ
Is AzureRmWebAppDeployment@2 deprecated?
Yes. AzureRmWebAppDeployment@2 is retired on 2026-10-15. Azure Pipelines shows a retirement error, but the run does not fail until removal.
When does AzureRmWebAppDeployment@2 stop working?
AzureRmWebAppDeployment@2 is removed on 2027-03-15. Pipelines that still use it fail after removal.
What should I use instead of AzureRmWebAppDeployment@2?
Replace AzureRmWebAppDeployment@2 with AzureRmWebAppDeployment@5.
Related retired tasks
- AndroidBuild@1 — manual migration
- AndroidSigning@1 — manual migration
- AndroidSigning@2 — manual migration
- AzureCLI@0 — manual migration
- AzureMonitor@0 — manual migration
- AzureWebPowerShellDeployment@1 — manual migration