Deleting Custom Domain on Static Web App Taking Forever

Nathan Moebus 0 Reputation points
2024-04-02T20:06:39.8833333+00:00

I am simply trying to delete a custom domain from my Static Web App and it's been taking a couple of hours now. All i see is a spinner next to the status of "Deleting".

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
928 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 18,041 Reputation points
    2024-04-03T04:52:19.13+00:00

    Hi @Nathan Moebus how long has it been since you deleted your custom domain? After deleting a custom domain, there can be a 20-minute delay for the change to propagate. Sometimes, it might take longer due to various factors.

    If it's taking longer to delete, you can try using the Azure CLI to remove the custom domain. Open your terminal or command prompt and execute the following command:

    az staticwebapp hostname delete -n <my-app-name> -g <rg-name> --hostname <app-custom-domain>
    
    0 comments No comments

Your answer

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