-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Task "Azure Cloud Service Deployment" does not support the storage account created via ARM template #3683
Comments
Hi @tousinn, It appears that you already have a good understanding of the problem. Do you have a proposed solution? If so, you can fork this repository and submit a pull request with your solution. See the contributing document (https://github.com/Microsoft/vsts-tasks/blob/master/docs/contribute.md) for more details. Thanks, |
Hi @jpricketMSFT Thanks for you reply. I have tried to submit my solution in the pull request Please let me know if you have any questions. Cheers, |
@jpricketMSFT @tousinn Azure cloud service deployment task is supposed to work with classic endpoints. Since it works with classic endpoint it can’t support ARM storage account in this task as ARM cmdlet can be access using ARM endpoint. Cloud service is a classic resource. Modern storage accounts are ARM based resources. Both uses different types of endpoint to work with. That’s why I was not able to merge above PR. |
@Ajay-MS - Is this really still an issue? From the Azure portal it allows users to deploy using an ARM-based storage account. It would be great if this functionality was supported in the pipelines so we could migrate all of our existing classic storage accounts. |
Hi there,
It looks like task "Azure Cloud Service Deployment" does not support the storage account created via ARM template.
When we pass a storage account created via ARM template to parameter "Storage Account", the task will end with error
It seems that in the function "Get-DiagnosticsExtensions", it will get the primary key of the storage like this
However, this will not be able to get the access key created by ARM template.
Is that possible to update the taks to support both the classic storage account and the one created by ARM template?
Thanks!
The text was updated successfully, but these errors were encountered: