Azure / azure-storage-net

Microsoft Azure Storage Libraries for .NET

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Server Failed to authenticate the request.

kasinaat opened this issue · comments

Which service(blob, file, queue, table) does this issue concern?

Azure Blob/File Service

Which version of the SDK was used?

v11.0.1

Which platform are you using? (ex: .NET Core 2.1)

.NET Core 4.5.2

What problem was encountered?

The following exception occurred when trying to connect to an Azure Government hosted Blob Service. However the same piece of code works fine for the Worldwide environments. The code uses shared key to authenticate with the Azure Blob service.

Exception occurred : Microsoft.Azure.Storage.StorageException: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.