Static Web App Custom Domain Delete Failure – ResourceOperationFailure

Udayasri Bhushan 25 Reputation points
2026-08-13T13:02:05.9933333+00:00

Problem Description

Scenario: We currently have our application deployed in an existing Azure tenant. The application is hosted using Azure Static Web Apps, and the custom domain onlineug.egradtutor.in is currently mapped to the existing Static Web App.

Requirement: We are migrating the complete application to a new Azure tenant and need to map the existing custom domain onlineug.egradtutor.in to the new Static Web App.

Issue: As part of the migration, we need to first remove the existing custom-domain association from the old Static Web App and then update the DNS records in GoDaddy to point to the new Static Web App.

However, when attempting to delete the custom domain from the old Static Web App, the operation fails with the following error:

ResourceOperationFailure

The custom domain deletion has been attempted multiple times through:

Azure Portal

Azure CLI (az staticwebapp hostname delete)

Azure Resource Manager REST API

However, the custom domain is still associated with the old Static Web App and cannot be fully removed.

This issue has been ongoing for more than 24 hours.

Because the custom domain is still associated with the old Static Web App, we are unable to successfully bind onlineug.egradtutor.in to the new Static Web App. Azure Static Web Apps requires the existing custom-domain association to be fully removed before the domain can be bound to another resource.

Request

Could the Azure Static Web Apps Support/Product Engineering team please investigate the current state of this custom-domain resource and help us fully remove/unbind the existing custom-domain association from the old Static Web App?

The deletion operation continues to fail with ResourceOperationFailure despite repeated attempts through the Azure Portal, Azure CLI, and Azure Resource Manager REST API.

Could you please verify whether the custom-domain resource is stuck in the Azure control plane/backend and, if necessary, manually clear the existing custom-domain binding so that it can be associated with the new Static Web App?

Details

Custom Domain: onlineug.egradtutor.in

Old Static Web App: tgfrontend-staging

Resource Group: Test-generator-rg

Environment: Production

Issue Duration: More than 24 hours

Error: ResourceOperationFailure

I can provide the subscription ID, resource ID, correlation IDs, Activity Log entries, CLI/REST API responses, and screenshots privately if required.

The immediate requirement is to release the existing custom-domain binding so that the domain can be mapped to the new Static Web App.

Thank you.

Problem Description

Scenario: We currently have our application deployed in an existing Azure tenant. The application is hosted using Azure Static Web Apps, and the custom domain onlineug.egradtutor.in is currently mapped to the existing Static Web App.

Requirement: We are migrating the complete application to a new Azure tenant and need to map the existing custom domain onlineug.egradtutor.in to the new Static Web App.

Issue: As part of the migration, we need to first remove the existing custom-domain association from the old Static Web App and then update the DNS records in GoDaddy to point to the new Static Web App.

However, when attempting to delete the custom domain from the old Static Web App, the operation fails with the following error:

ResourceOperationFailure

The custom domain deletion has been attempted multiple times through:

Azure Portal

Azure CLI (az staticwebapp hostname delete)

Azure Resource Manager REST API

However, the custom domain is still associated with the old Static Web App and cannot be fully removed.

This issue has been ongoing for more than 24 hours.

Because the custom domain is still associated with the old Static Web App, we are unable to successfully bind onlineug.egradtutor.in to the new Static Web App. Azure Static Web Apps requires the existing custom-domain association to be fully removed before the domain can be bound to another resource.

Request

Could the Azure Static Web Apps Support/Product Engineering team please investigate the current state of this custom-domain resource and help us fully remove/unbind the existing custom-domain association from the old Static Web App?

The deletion operation continues to fail with ResourceOperationFailure despite repeated attempts through the Azure Portal, Azure CLI, and Azure Resource Manager REST API.

Could you please verify whether the custom-domain resource is stuck in the Azure control plane/backend and, if necessary, manually clear the existing custom-domain binding so that it can be associated with the new Static Web App?

Details

Custom Domain: onlineug.egradtutor.in

Old Static Web App: tgfrontend-staging

Resource Group: Test-generator-rg

Environment: Production

Issue Duration: More than 24 hours

Error: ResourceOperationFailure

I can provide the subscription ID, resource ID, correlation IDs, Activity Log entries, CLI/REST API responses, and screenshots privately if required.

The immediate requirement is to release the existing custom-domain binding so that the domain can be mapped to the new Static Web App.

Thank you.

Azure Static Web Apps
Azure Static Web Apps

An Azure service that provides streamlined full-stack web app development.

0 comments No comments

Answer accepted by question author
Golla Venkata Pavani 7,530 Reputation points Microsoft External Staff Moderator
2026-08-13T14:14:29.39+00:00

Hi @Udayasri Bhushan

Thank you for your patience while we looked into this.

We have received confirmation that mitigation has been applied, and your custom domain issue should now be resolved. Could you please retry the operation and verify whether everything is working as expected?

If you are still experiencing any issues, please reply with an update and any relevant details. We will be happy to continue assisting you and investigate further if needed.

We look forward to hearing back from you.

Please "accept" if the information helped you. This will help us and others in the community as well.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

2 additional answers

Sort by: Newest
  1. Udayasri Bhushan 25 Reputation points
    2026-08-14T08:19:16.26+00:00

    Thank you for the response, I am able to delete it and configure it to other static web app now.

    Was this answer helpful?

    0 comments No comments

  2. TP 163.1K Reputation points Volunteer Moderator
    2026-08-13T16:44:53.2333333+00:00

    Hi,

    Can you retry deleting your custom domain now? I just retried mine and it successfully deleted after about 2-3 minutes. Previously it had been stuck for many hours.

    Below is latest update from the Service issue DZXC-65Z:

    Service: Static Web Apps

    Region: Global

    Event tags: --

    Impact Statement: Starting at 14:30 UTC on 11 August 2026, you have been identified as an affected customer using Azure Static Web Apps in multiple regions who may experience failures or delays when deleting custom domains for resources hosted in the region. At this time, the impact is limited to a subset of customers.

    Current Status: Our teams have completed mitigation actions and are currently monitoring recovery progress. The issue was attributed to a backlog in the job queue responsible for custom domain deletion operations, which caused deployment requests to time out. Mitigation efforts included reducing the batch size of operations and stopping specific operations to accelerate queue recovery. Current telemetry indicates that the queue backlog is decreasing rapidly and is expected to reach a healthy state shortly.

    Initial assessments indicate that custom domain creation and update workflows remain healthy, with the impact limited to delayed or failed custom domain deletion requests while the backlog was present.

    We are validating recovery by monitoring system performance and confirming successful retries from affected customers.

    The next update will be provided in 02 hours, or as events warrant.

    Thanks.

    -TP

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.