Azure / Azure/Azure-Functions

Invoking /functions/admin/download from ARM stopped working

Open
#2,355 15 comments 0 reactions 2 assignees Claimed by @FinVamp1 View on GitHub
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.