ARM ZIP deployment returns HTTP 405 on Free Static Web Apps in West Europe

Aperta
#1,822 1 commento 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
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
azure
Ambito
cloud

Direzione di ricerca

Start by checking the Static Web Apps ZIP deployment REST operations linked in the issue and compare their documented availability with the reported Free SKU, West Europe region, and DevOps provider configuration. The report shows HTTP 405 for both site and environment endpoints with API versions 2025-05-01 and 2025-03-01; confirm whether that behavior is expected and identify a supported deployment and rollback path. No repository files or tests are named, so this needs service knowledge and a maintainer response.

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

Descrizione

Describe the bug
Both documented Azure Resource Manager ZIP deployment operations returned HTTP 405 on disposable Free Static Web Apps in West Europe with the Azure DevOps provider. We are trying to qualify a supported way to publish a prebuilt static site to an existing Free app and preserve its hostname.

To reproduce

  1. Provision a disposable Static Web App with SKU Free, location West Europe and provider DevOps.
  2. Prepare a small app-only ZIP with index.html at its root. Store it privately and supply a short-lived HTTPS URL with read-only access in the deployment request.
  3. Send an authenticated ARM POST to /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/zipdeploy with api-version=2025-05-01 and repeat with 2025-03-01. Both return HTTP 405.
  4. In a separate disposable app, confirm that default exists and send an authenticated ARM POST to the corresponding /staticSites/{name}/builds/default/zipdeploy endpoint with each of those same API versions. Both return HTTP 405. This second probe used a reserved .invalid package URL as a negative control; it did not test package retrieval.

Expected behavior
The documented operation accepts the package on a supported Free app, or the documentation identifies the SKU, region, provider, or enrollment requirement. Can the Static Web Apps team confirm whether either operation is available for this configuration and identify a supported way to deploy and roll back prebuilt files to the same Free resource?

Additional context

  • Site ZIP REST operation
  • Environment ZIP REST operation
  • The standalone publisher manifest listed a stable Linux x64 binary whose SHA-256 we verified and whose embedded .NET runtime was 8.0.32. The .NET advisory lists 8.0.33 as fixed. This is a runtime version observation; we have not established that the publisher exposes the vulnerable code path. If the ARM routes are unavailable for Free, is there a supported Microsoft publisher or alternative for Free that meets the fixed runtime floor?
Lingua principale
Nessun dato sulla lingua
Stelle
347
Fork
68
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 Azure/static-web-apps

Tutte le issue di Azure/static-web-apps

Issue simili

Altre issue su Cloud

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.