Azure / Azure/Azure-Functions

Invoking /functions/admin/download from ARM stopped working

Aperta
#2,355 15 commenti 0 reazioni 2 assegnatari Rivendicata da @FinVamp1 Vedi su GitHub
Lingua principale
PowerShell
Stelle
1.1k
Fork
215
Merge medio
4h 2m
PR unite (30g)
1

Descrizione

At some, relatively recent, point in time - invoking the `/functions/admin/download` SCM API for Windows function apps from ARM (`https://management.azure.com/subscriptions//resourceGroups//provider/Microsoft.Web/sites//functions/admin/download?api-version=2022-09-01`) had stopped working - it consistently returns 401 even if granted a `Contributor` role, or the `Microsoft.Web/sites/publish/action`​ permission explicitly.

It works as expected with the same authorization token when invoked directly on the SCM site, but I have strict outbound network policies requiring communication with ARM (management.azure.com) alone, so I can't use that.

I was wondering if you know whether anything had changed in that regard, and if so - do you happen to know
if there's an appropriate alternative for invoking this API through ARM ?

StackOverflow link: https://stackoverflow.com/questions/75853352/invoking-functions-admin-download-from-arm-stopped-working

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.