Trying to delete an empty static web app either fails or is still running after 2 hours

Mark Harrison 1 Reputation point

I've been trying unsuccessfully to delete a static web app that is empty (no published code) for the last 2 hours and have tried the following methods:

  1. az staticwebapp delete
  2. Remove-AzStaticWebApp
  3. Removing the static web app from the Azure portal
  4. Removing the resource group entirely using az group delete --name
  5. Removing the resource group from the Azure portal.

Each instance either times out and fails, or is still continuing to run, for what appears to be an indefinite amount of time.

Anyone have a way to just remove the resources?

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

2 answers

Sort by: Most helpful
  1. Mark Harrison 1 Reputation point

    Looks like it's finally deleted after multiple attempts. It really shouldnt be this hard to delete a resource though!

  2. Grmacjon-MSFT 9,281 Reputation points

    Hi @Mark Harrison

    Usually removing the static web app via the Azure portal should work just fine. We are sorry to hear you had a difficult time deleting your static webapp. Thanks for letting us know the issue is now resolved.