0

I am using Linked Template to deploy ARM template in Target env, While deploying I am storing the templates in blob contaier using “Azure File Copy” and generating URL and SAS token for the container.

But As my Storage account is configured via VNet/Subnet private endpoint, My ARM template deployment task is failing to download the Templates from the storage account.

I am checking for a workaround here, Please help me as soon as possible.

LoGan
  • 97
  • 4
  • 13

1 Answers1

0

If you use Microsoft-hosted agents, please refer to this doc: Allowed address lists and network connections to configure your VNet/Subnet.

If you use private agents in pipeline, it will access to your Storage account via local network, please make sure that the local network can access to your Storage account.

In addition, you need to set up valid Azure Resource Manager service connection when using this Azure Resource Manager (ARM) Template Deployment Task.

Edward Han-MSFT
  • 2,879
  • 1
  • 4
  • 9
  • I am using Self-Hosted Agent which is configured on the same network, But I think "ARM template deployment" task is via cloud only, so it is not using the agent, It is trying to access the container via cloud only, That's why facing the issue – LoGan May 04 '21 at 08:18
  • It in fact access to your storage account via the ARM service connection, so you need to make sure that this service connection can access to it without network related issues. You could check whether this issue exists locally without using Azure pipeline. – Edward Han-MSFT May 04 '21 at 09:59
  • Hi LoGan, How about this issue? Do you manage to resolve it? – Edward Han-MSFT May 11 '21 at 06:42
  • Hi @Edward, The issue is still not resolved, I think we can't use storageaccount with private endpoint configuration for linkedtemplate deployment. – LoGan May 18 '21 at 10:56
  • Thanks for your reply. It seems so. You could submit a suggestion ticket about this here: https://developercommunity.visualstudio.com/report?space=21&entry=suggestion. – Edward Han-MSFT May 19 '21 at 06:55
  • Hi @Edward, Ticket already raised about the issue, They doesn't support this feature as of now. Ticket URL- https://developercommunity.visualstudio.com/t/azure-arm-template-deployment-task-is-not-able-to/1412335?from=email&viewtype=all#T-ND1419775 – LoGan May 19 '21 at 12:31