0.9.8 ARM: New-AzureResourceGroupDeployment -storageaccountName template locking
please remove the lock placed on the template file once it is uploaded to the storage account.
When doing multiple deployments to the same storage account that use the same template file, this results in failed deployments
Error Meesage DeploymentActive: Unable to edit or replace deployment 'DeploymentTemplateFile': previous deployment from '9/28/2015 4:16:21 PM' is still active
Desired Action
the ability to deploy ARM templates in a foreach -parallel loop without errors
Foreach -parallel($VM in $VMs) { $Param = @()
AzureResourceManager\New-AzureResourceGroupDeployment -ResourceGroupName $ResourceGroup -TemplateUri '.\DeploymentTemplateFile.json' -TemplateParameterObject $Params -storageaccountNameFromTemplate $storageAccount
}
This should not be an issue in PowerShell 1.0 and beyond. The storage account does not need to be specified now.
Not sure this is fixed. Please see my comment here.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @rthorn17