Deleted app fails to restore because Azure thinks it still exists.

Jason 0 Reputation points

When I run the Get-AzDeletedWebApp command my app service is returned. When I attempt to restore it to the same name using Restore-AzDeletedWebApp command I get Restore-AzDeletedWebApp : Operation returned an invalid status code 'Conflict'.

The resource seems to be in both states at once : Deleted and Still There.

How can I resolve this ?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,326 questions
{count} votes

1 answer

Sort by: Most helpful
  1. TP 83,221 Reputation points

    Hi Jason,

    Please run the Restore-AzDeletedWebApp command with -Debug on the end of it and post the output here (hide any sensitive info first). Would like to see full error message/details.

    I assume if you try to restore the web app via the portal you receive same error? Please confirm.


    0 comments No comments