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: 'AuthenticationFailed
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.6754851ZThe
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'.'
error access in pipeline
Provided a read access policy also in that container section.
142405-image.png