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

Abierto
#1,795 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Tranquilo
Stack tecnológico
azure, github-actions, next.js
Área
cloud, devops

Línea de trabajo

No se ha identificado ningún archivo del repositorio ni ninguna prueba. Empieza revisando el comportamiento notificado al eliminar un custom-domain de Azure Static Web Apps y los comandos de portal y az CLI indicados, utilizando los detalles del proveedor, la región y los recursos privados proporcionados por quien reportó el problema. Se considera terminado cuando se hayan eliminado los bindings atascados y se puedan eliminar o volver a registrar el hostname y las apps afectadas.

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

Descripción

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