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

Aperta
#1,795 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
azure, github-actions, next.js
Ambito
cloud, devops

Direzione di ricerca

Non sono stati identificati file del repository né test. Inizia esaminando il comportamento segnalato durante l’eliminazione di un custom-domain di Azure Static Web Apps e i comandi portal e az CLI elencati, utilizzando i dettagli relativi al provider, alla regione e alle risorse private forniti dal segnalatore. Il lavoro è completato quando i binding bloccati sono stati eliminati e l’hostname e le app interessate possono essere eliminate o registrate nuovamente.

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

Descrizione

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.
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.