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

Đang mở
#1,822 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
azure
Lĩnh vực
cloud

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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?
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
347
Fork
68
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Azure/static-web-apps

Tất cả issue của Azure/static-web-apps

Issue tương tự

Thêm issue về Cloud

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.