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

Abierto
#1,822 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
azure
Área
cloud

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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?
Lenguaje dominante
Sin datos de lenguaje
Estrellas
347
Forks
68
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Azure/static-web-apps

Todos los issues de Azure/static-web-apps

Issues similares

Más issues de Cloud

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.