Search code examples
azureazure-blob-storageazure-webjobs

The account credentials for 'X' are incorrect (But connection string works on my machine)


We're trying to run an azure webjob console application outside of Azure. (This works fine) We have successfully used this approach on another project as well.

We're getting the error:

The account credentials for 'X' are incorrect

This is when the web job starts. When connecting from datacenter to Azure (Blob) storage. using the AzureWebjobsDashboard / AzureWebjobsStorage connection strings.

Running the same application, with the same connection string from my local machine works. (Both are not inside Azure.

A similar weird behaviour is seen with the Azure Storage explorer, which I installed on the server where I can't connect. The storage explorer allows attaching to the account, and I can see queues and other stuff, but has trouble when I select Blob Containers (keeps loading...)

Trying the same thing on my local machine works fine as well. The storage explorer lists the blob containers and I can manage them there.

I'm using the account key based connection string, tried with a SAS token, but same error. HTTPS ports are open, and win10/ recent .net versions are installed, ...


Solution

  • As mentioned in the comments, best way to diagnose these issues is to trace the request/response through a tool like Fiddler. You will get more detailed information about why the requests are failing.