Azure Website disappeared RRS feed

  • Question

  • I had 10 azure websites that I was hosting. I removed all of them using azure dashboard and recreated them using azure cli. Now I can only find 5 of them both in azure dashboard and via `az webapp list` command.
    Monday, February 17, 2020 2:03 AM

All replies

  • Hi Bud,

    If the web-app was hosted on and then deleted from an App Service Environment, then it can be restored only if the corresponding App Service Environment still exist.

    Try this command:

    Restore-AzDeletedWebApp -ResourceGroupName ResourceGroupName -Name undeletesiteexample -TargetAppServicePlanName APPServicePlanName


    ------------------------------------ Happy Workaround :) Vivek http://www.linkedin.com/pub/vivek-mishra/11/456/a54

    Monday, February 17, 2020 4:24 PM
  • Hi,
    Thank you so much for the reply.

    When I run the command as you mentioned, it throws error, `Restore-AzDeletedWebApp: Operation returned an invalid status code 'Conflict'`
    Wednesday, February 26, 2020 4:56 PM