Azure Pipeline issue for Azure Storage Account

Sabyasachi Mukherjee 21 Reputation points
2022-05-09T11:18:53.54+00:00

We are facing issue in a frontend deployment during file upload to Web container blob storage account where networking access is in private virtual network (subnet) with the below error message.

The request may be blocked by network rules of storage account. Please check network rule set using 'az storage account show -n accountname --query networkRuleSet'200240-issue.jpg

It is working for a different storage account where networking access is enabled to all network.

Requesting you to give solution on this issue as soon as possible.

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,910 questions
0 comments No comments
{count} votes

Accepted answer
  1. shiva patpi 13,171 Reputation points Microsoft Employee
    2022-05-10T05:14:40.603+00:00

    Hello @Sabyasachi Mukherjee ,
    Yeah , that error message is expected when the storage account access is restricted.
    Couple of options:

    1) Try to whitelist the Azure Pipeline VM Host Agent IP in the Storage Account Networking Section (OR)
    2) Try to join the Nodes in a VNET where that particular storage account has access to (OR)
    3) Consider using Private Endpoints (Have a look at the Answer mentioned at https://stackoverflow.com/questions/65019375/access-azure-storage-account-from-pipeline-agent-in-same-region-with-access-rest)

    Similar issue was answered at : https://learn.microsoft.com/en-us/answers/questions/474302/access-azure-storage-account-from-pipeline-agent-i.html

    Regards,
    Shiva.

    0 comments No comments

0 additional answers

Sort by: Most helpful