Custom domain creation fails with ResourceOperationFailure across multiple SWAs after cross-subscription move
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
Línea de trabajo
Comience con la operación Microsoft.Web/staticSites/customdomains/write y los valores proporcionados de correlationId y operationId; después, revise el Azure Activity Log para comprobar la creación fallida del dominio personalizado y la eliminación atascada. Se considera completado cuando la validación del dominio personalizado se realiza correctamente o devuelve un error específico y accionable, y las entradas de dominio fallidas se pueden eliminar o recuperar.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
All custom domain additions to Azure Static Web Apps fail with
"An unknown error has occurred while adding your custom domain. Please try again later."
The Activity Log shows:
{"status":"Failed","error":{"code":"ResourceOperationFailure","message":"The resource operation completed with terminal provisioning state 'Failed'."}}
subStatus is empty, so no actionable error surfaces to the control plane.
The domain entry then becomes stuck — even DELETE operations do not complete.
Context
Two Static Web Apps were moved to a newly created subscription within the same
tenant shortly before this started. I suspect this may be related to the known
cross-subscription move issues affecting SWA backend state.
What I have verified
- CNAME resolves correctly and publicly (verified via 8.8.8.8) to the exact
default hostname of the target Static Web App - No CAA records exist on the apex or the subdomain (verified via Google DNS-over-HTTPS,
empty Answer, Status 0) - DNS is hosted on Cloudflare, proxy disabled (DNS-only / grey cloud)
- No Azure DNS zone exists for these domains
- Free plan custom domain limit is not reached on the affected apps
- The domains are not bound to any other Azure resource
Reproduced across every variable
| Variable | Values tried | Result |
|---|---|---|
| Domain | two unrelated domains, different registrars | fail |
| Static Web App | newly created and pre-existing apps | fail |
| Subscription | newly created subscription | fail |
| Service type | App Service (.NET 8) in the same subscription/tenant | succeeds |
Custom domain binding works normally on App Service using the same DNS setup.
Only Static Web Apps fail, which points to the SWA control plane rather than DNS
or tenant permissions.
Failure identifiers
- correlationId: 8903ba11-a15e-4448-aa23-f5863f00dc00
- operationId: ad40e7d7-f101-488a-8a02-5627b74adb63
- eventTimestamp: 2026-08-12T08:16:21.9298045Z
- operationName: Microsoft.Web/staticSites/customdomains/write
- Region:Korea Central
- Plan: Free
I can provide subscription ID, resource names and affected hostnames privately
if a maintainer requests them.
Expected behavior
Custom domain validation completes, or the operation returns a specific,
actionable error code instead of a terminal generic failure.
Additional context
The stuck domain entries cannot be deleted, which suggests the customDomains
child resources are left in an unrecoverable provisioning state.
Please advise whether backend state can be cleared for the affected apps.
- 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
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Azure/static-web-apps
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Azure/static-web-apps#1764 · 2 comentarios ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
Azure/static-web-apps#1827 ·
-
Managed Functions Not RestartingAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
Azure/static-web-apps#1826 · 5 comentarios · 1 reacción ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
Azure/static-web-apps#1825 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 18/100
Azure/static-web-apps#1824 ·
Todos los issues de Azure/static-web-apps
Issues similares
-
component/media domain/discovery
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
roadmap/v1.2.0 type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
databrickslabs/ontos#1773 ·
Los mantenedores suelen responder en 2 días
-
bug good first issue help wanted up-for-grabs
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
ClickHouse/loom#2075 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: The trt-decoder extra installs TensorRT 11, which the trt_decoder plugin cannot loadPosiblemente ocupada @fedonman la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100