microsoft / microsoft/DurableFunctionsMonitor

`Server failed to authenticate the request.` when connecting to Azure storage

Open
#272 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P2
Dominant language
TypeScript
Stars
290
Forks
46
Avg merge
6m
Merged PRs (30d)
1

Description

I'm hitting the following error when attempting to use my identity to acces a task hub:

[2025-07-31T09:30:12.080Z] Executing 'DfmGetOrchestrationsFunction' (Reason='This function was programmatically called via the host APIs.', Id=986c8755-ea41-436c-913e-485f86fa7639)
[2025-07-31T09:30:12.276Z] DFM failed
[2025-07-31T09:30:12.276Z] DurableTask.AzureStorage: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. Microsoft.WindowsAzure.Storage: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
[2025-07-31T09:30:12.277Z] Executed 'DfmGetOrchestrationsFunction' (Succeeded, Id=986c8755-ea41-436c-913e-485f86fa7639, Duration=197ms)

With the following setting:

    "durableFunctionsMonitor.taskHubsDiscoveryMode": "Do not use Storage keys"

As a test, on the same environment, i installed the Azure Storage Explorer (standalone) https://azure.microsoft.com/en-us/products/storage/storage-explorer. Accessing the storage account (and the content of tables/blobs/queues) with identity works just fine there.

In the same environment with a personal account (pointing to a personal tenant), using the monitor via VS Code, works just fine.

I think Microsoft.WindowsAzure.Storage (which is marked as legacy btw) isn't supported in my work tenant.

Any way around this? Or to debug further?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the authentication failure with durableFunctionsMonitor.taskHubsDiscoveryMode set to "Do not use Storage keys" in the reported work-tenant environment. Compare this with the successful Storage Explorer and personal-tenant cases, then trace the DurableFunctionsMonitor storage access path. Done means documenting a confirmed cause and an actionable workaround or fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.