Static Web Apps upload validation reports 500 with app-only Azure token

Đang mở
#1,823 0 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
12/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
azure, github-actions
Lĩnh vực
authentication, cloud

Hướng nghiên cứu

The payload names no repository files, tests or entry points; it is a service-side report about the /api/upload/validateapitoken path for DeploymentId 1a790d36-b32c-40b9-9bbf-a161e354f491. Diagnosis needs maintainer access to that deployment's logs, so a newcomer cannot reproduce it locally. Done would mean maintainers confirm whether the app-only AZURE_ACCESS_TOKEN setup is supported under the GitHub deployment policy and explain the 500.

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

Mô tả

An existing Free Static Web App (static files only, GitHub deployment policy) fails at initial native upload validation.

Recorded UTC: 2026-11-13T17:42:18.213Z
DeploymentId: 1a790d36-b32c-40b9-9bbf-a161e354f491
Client image: mcr.microsoft.com/appsvc/staticappsclient@sha256:026b202feacf67ec0acd4846a1d17953f6c3c8ff912a1c0ec29aa6000a495f12

GitHub federation to a user-assigned managed identity succeeds. Its app-scoped custom role grants:

  • Microsoft.Web/staticSites/read
  • Microsoft.Web/staticSites/builds/read
  • Microsoft.Web/staticSites/listsecrets/action
  • Microsoft.Web/staticSites/publish/action

App/production-environment reads and reading the current target deployment key succeed. Both branches match. Metadata and key remain unchanged.

The primary /api/upload/validateapitoken path reports service status 500 before artifact processing. Outer HTTP versus response-envelope status is unknown. Three internal retries are configured. The resource-group Activity Log returns no failed events for 17:40–17:44 UTC.

Please inspect this DeploymentId and confirm the supported app-only AZURE_ACCESS_TOKEN configuration under the GitHub deployment policy. No credentials or customer data are attached.

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ề Security

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.