Custom domain stuck in "Deleting" across multiple Static Web Apps — blocks deletion and re-registration

オープン
#1,795 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
静か
技術スタック
azure, github-actions, next.js
領域
cloud, devops

調査の方向性

リポジトリのファイルもテストも特定されていません。まず、報告された Azure Static Web Apps の custom-domain の削除動作と、記載されている portal および az CLI コマンドを、報告者が提供した provider、リージョン、プライベート リソースの詳細を使って確認します。stuck 状態の binding がクリアされ、hostname と影響を受けたアプリを削除または再登録できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Describe the bug

A custom domain (an apex domain and its www subdomain) is stuck in status
"Deleting" simultaneously on several Static Web Apps in the same subscription.
The portal shows: "An unknown error has occurred while adding your custom domain.
Please try again later."

Because SWA custom domains are globally unique, the hostname is now treated as
in-use: it cannot be added/validated on ANY app, and every app still holding it
fails to delete with Code: ResourceDeletionFailed. This is a deadlock only the
product team can clear.

Region / provider
  • Region: East Asia
  • Provider: Microsoft.Web/staticSites
  • (Subscription ID, exact resource names, and correlation IDs - privately
    on request — happy to share via a secure channel.)
Steps that lead to it
  1. Add a custom domain to a Static Web App before the DNS CNAME had fully propagated.
  2. Validation fails; try to delete the custom domain to re-add it.
  3. The delete hangs indefinitely in "Deleting".
  4. Repeating on new apps spreads the same stuck hostname across multiple apps.
What I've already tried (all fail)
  • Portal "Delete" on the custom domain → hangs in "Deleting" for >1 hour.
  • az staticwebapp hostname delete → "Operation returned an invalid status 'OK'", entry remains.
  • az resource delete --ids <.../customDomains/<host>> → same result, entry remains.
  • az staticwebapp delete on the app → ResourceDeletionFailed (blocked by the stuck child domain).
  • Confirmed there are NO management locks on the resource group.
Request

Please force-clear the stuck custom-domain bindings server-side so the hostname is
released, and/or unblock deletion of the affected apps. I can provide the
subscription ID, resource IDs, and correlation IDs privately.

Environment
  • Deploying a Next.js static export via GitHub Actions to Static Web Apps (Free plan).
  • CLI: latest az.
主要言語
言語のデータがありません
スター
347
フォーク
68
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Azure/static-web-apps のほかの issue

Azure/static-web-apps の issue をすべて見る

似ている issue

Cloud の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。