How to provide access to a Storage container in azure pipeline

Uday Kiran Reddy (ureddy) 86 Reputation points
2021-10-21T08:49:56.643+00:00

I have created a storage account and set in private but kept accessible to all networks.
I am able to upload files there from azure portal with my account and created a container also there and uploaded a tar.gz file.

tar file

But when I am trying to access this in a azure pipeline task with my account.I am getting this error when selecting the container, even after authorization of storage account and selecting the relevant storage account.

Failed to query service connection API: 'https://martserverdependencies.blob.core.windows.net/?comp=list'. Status Code: 'Forbidden', Response from server: '<?xml version="1.0" encoding="utf-8"?><Error><Code>AuthenticationFailed</Code><Message>Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. RequestId:6a53a4b6-201e-006f-4357-c6af56000000 Time:2021-10-21T08:43:27.6754851Z</Message><AuthenticationErrorDetail>The MAC signature found in the HTTP request 'xrVvrgIUTVQjAEGCEcGonVrfpq9JzVRHRo9toNwVbOs=' is not the same as any computed signature. Server used following string to sign: 'GET x-ms-date:Thu, 21 Oct 2021 08:43:27 GMT x-ms-version:2017-04-17 /martserverdependencies/ comp:list'.</AuthenticationErrorDetail></Error>'

142406-image.png

Provided a read access policy also in that container section.
142405-image.png

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,721 questions
{count} votes