AzureCloudPowerShellDeployment@2 is retired: migrate off its platform or external tool
The short answer
- Retirement date
- Removal date
- . Pipelines that still use it fail after removal.
- Replacement
- Closest task:
AzurePowerShell@5(after the migration described below). - Kind of migration
- retired platform or external tool: no drop-in replacement
- Automatic rewrite
- No. This task needs a manual migration. trasloco modernize --check still finds the step.
- Recommended action
- Retire the classic Cloud Services deployment workflow and design a supported replacement; AzurePowerShell@5 can run the required script.
Official sources
- Official task retirement announcement
- Task definition: AzureCloudPowerShellDeploymentV2 (task.json)
- Task definition: AzurePowerShellV5 (task.json)
Last verified:
Why does my pipeline show a retirement error for AzureCloudPowerShellDeployment@2?
On , Azure Pipelines shows a retirement error for AzureCloudPowerShellDeployment@2, but the run does not fail. On , pipelines that still use AzureCloudPowerShellDeployment@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 'AzureCloudPowerShellDeployment@2' --include='*.yml' --include='*.yaml' .
How to migrate
Retire the classic Cloud Services deployment workflow and design a supported replacement; AzurePowerShell@5 can run the required script.
The task definition of the replacement is linked under official sources above.
AzureCloudPowerShellDeployment@2 retirement FAQ
Is AzureCloudPowerShellDeployment@2 deprecated?
Yes. AzureCloudPowerShellDeployment@2 is retired on 2026-10-15. Azure Pipelines shows a retirement error, but the run does not fail until removal.
When does AzureCloudPowerShellDeployment@2 stop working?
AzureCloudPowerShellDeployment@2 is removed on 2027-03-15. Pipelines that still use it fail after removal.
What should I use instead of AzureCloudPowerShellDeployment@2?
AzurePowerShell@5 is the closest task, after the platform or tool migration described on this page.
Related retired tasks
- AppCenterDistribute@0 — retired platform or external tool: no drop-in replacement
- AppCenterDistribute@1 — retired platform or external tool: no drop-in replacement
- AppCenterDistribute@2 — retired platform or external tool: no drop-in replacement
- AutomatedAnalysis@0 — retired platform or external tool: no drop-in replacement
- AzureCloudPowerShellDeployment@1 — retired platform or external tool: no drop-in replacement
- AzureNLBManagement@1 — manual migration
- AzurePowerShell@1 — manual migration
- Chef@1 — retired platform or external tool: no drop-in replacement