Closed adiun closed 4 years ago
+1 My team has also encountered this issue. We migrated many storage accounts to ARM, only to find out that our release pipelines broke.
This fix will have a huge impact on the migration from classic to ARM storage accounts.
The task works on the older Azure RDFE model and uses the Azure RDFE cmdlets because Cloud service also works on RDFE (or classic) model and so requires a classic storage account. And not an ARM storage account.
Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: AzureCloudPowerShellDeploymentV1
Environment
Account Name: adunnith at microsoft (Adi Unnithan) Organization: empowermd Team Project Name: IntelligentScribe Build Definition Name: RecorderBotService-CI-TEST Build Number: 20200426.6 Agent Specification: windows-2019
Issue Description
I was trying to use the cloud deployment task and it fails with an ARM-based storage account. The task looks like this:
When running this, the
Set-AzureDeployment
step errors out becauseCurrentStorageAccountName
was not set for the subscription viaSet-AzureSubscription
.If I set up a new Classic Storage Account and don't use the ARM capabilities with this task like the following, then it succeeds:
Task logs
Feel free to email me at adunnith at microsoft for a zip file with the logs.
Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Error logs