Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

AuthorizationFailure when using different Entra account

Aperta
#306 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
azure, typescript, vscode

Direzione di ricerca

Non è indicato alcun file o test. Inizia riproducendo il flusso Attach dalla scheda Azure con account Entra primario e privilegiato separati, quindi traccia la gestione dell'account e delle autorizzazioni coinvolta. Il lavoro è completato quando un account privilegiato può connettersi a staging o production senza l'AuthorizationFailure segnalato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Needs: Triage :mag:

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
Lingua principale
TypeScript
Stelle
290
Fork
46
Merge medio
6m
PR unite (30g)
1

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/DurableFunctionsMonitor

Tutte le issue di microsoft/DurableFunctionsMonitor

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.