question

SabyasachiMukherjee-0793 avatar image
0 Votes"
SabyasachiMukherjee-0793 asked SumanthMarigowda-MSFT commented

Azure Pipeline issue for Azure Storage Account

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
issue.jpg (92.4 KiB)
issue.jpg (92.4 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

shivapatpi-MSFT avatar image
0 Votes"
shivapatpi-MSFT answered

Hello @SabyasachiMukherjee-0793 ,
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://docs.microsoft.com/en-us/answers/questions/474302/access-azure-storage-account-from-pipeline-agent-i.html


Regards,
Shiva.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.