AuthorizationFailure when using different Entra account
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- azure, typescript, vscode
- Domain
- authentication, cloud, devtools
Research direction
No file or test is named. Start by reproducing the Attach flow from the Azure tab with separate primary and privileged Entra accounts, then trace the account and authorization handling involved. Done means a privileged account can attach to staging or production without the reported AuthorizationFailure.
Written by the indexing model from the issue text.
Description
We have a setup where we have a different entra account for elevated purposes. I assume this is why i get the following error:
[2026-02-02T12:52:36.358Z] Executing 'DfmGetOrchestrationsFunction' (Reason='This function was programmatically called via the host APIs.', Id=6181332c-f45c-4f15-954a-b2f4bca06bb9)
[2026-02-02T12:52:36.823Z] DFM failed
[2026-02-02T12:52:36.823Z] DurableTask.AzureStorage: This request is not authorized to perform this operation. Microsoft.WindowsAzure.Storage: This request is not authorized to perform this operation.
[2026-02-02T12:52:36.824Z] Executed 'DfmGetOrchestrationsFunction' (Succeeded, Id=6181332c-f45c-4f15-954a-b2f4bca06bb9, Duration=490ms)
When trying to "Attach" to a storage account.
The reasoning for me being suspicious about this is that my accounts are set up this way:
-
Primary (Entra account logged in on Windows and used for login on PC)
Test: Contributor
Staging: Read
Production/Read -
Priveledged (Entra account logged in on windows, but not used for logging in on PC)
Test: Read
Staging: Contributor
Production: Contributor
I am able to view all 3 storage accounts in the "Durable Functions" viewer in the Azure tab in VS Code, but i am only able to connect to the one in test where i have Contributor access.
However i am not able to switch to my priveledged account and get access to either Staging or Production. I have tried:
- Logging out of all accounts in VS Code - restart - try again
- Logging in with only the priveledged account
- Logging in with both accounts at the same time
- Dominant language
- TypeScript
- Stars
- 290
- Forks
- 46
- Avg merge
- 6m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/DurableFunctionsMonitor
-
Needs: Triage :mag:
Difficulty 4/5 3-5 days Newbie friendliness 45/100
microsoft/DurableFunctionsMonitor#318 · 1 comment ·
-
Needs: Triage :mag:
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Needs: Triage :mag:
Difficulty 4/5 3-5 days Newbie friendliness 35/100
microsoft/DurableFunctionsMonitor#316 · 4 comments ·
-
Needs: Triage :mag:
Difficulty 1/5 Under an hour Newbie friendliness 55/100
-
Needs: Triage :mag:
Difficulty 3/5 1-2 days Newbie friendliness 45/100
All issues in microsoft/DurableFunctionsMonitor
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
bcgov/bc-wallet-mobile#4761 · 1 comment ·
-
external-issue to-triage
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
area-deployment area-integrations triage:bot-seen
Difficulty 2/5 Half a day Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
refactor
Difficulty 2/5 1-3 hours Newbie friendliness 84/100