What are the necessary parameters required to construct the signature string for Azure Blob Storage

Satya Naik 21 Reputation points

I am getting this error once in a while and replicating this is also an issue. Sometimes it works and sometimes it doesn't. Not able to figure out what the issue actually is .

Error Message:




Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.





The MAC signature found in the HTTP request 'ErN2zP3io4xho3gs3Bxg615Yrx5E4DNof830O49Xboo=' is not the same as any computed signature. Server used following string to sign: 'GET

--- 6 new lines ---

Fri, 03 Feb 2023 10:44:43 GMT

-- 2 new line ---


-- 3 new line ---

x-ms-date:Fri, 03 Feb 2023 13:33:35 GMT





Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,264 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SaiKishor-MSFT 17,136 Reputation points

    @Satya Naik

    Here is the doc that explain how to build this string- https://learn.microsoft.com/en-us/rest/api/storageservices/authorize-with-shared-key#blob-queue-and-file-services-shared-key-authorization

    This issue happens when the authorization signature is incorrect. Please refer to this doc for details regarding troubleshooting this error/issue- https://techcommunity.microsoft.com/t5/azure-paas-blog/the-mac-signature-found-in-the-http-request-xxxx-is-not-the-same/ba-p/3293726

    Hope this helps. Please let me know if you require any further assistance and I will be glad to assist further. Thank you!

    0 comments No comments