Frequently asked questions about creating or deleting resources in Azure App Service

This article answers common questions about creating and deleting web apps in Azure App Service.

If your Azure issue is not addressed in this article, visit the Azure forums on MSDN and Stack Overflow. You can post your issue in these forums, or post to @AzureSupport on Twitter. You also can submit an Azure support request. To submit a support request, on the Azure support page, select Get support.

Create a web app

What if I create a web app with the same name as another one?

We cannot create a web app with a name that already exists in the Azure. The web app name is part of the web app's URL, so it must be unique among all Azure App Service web apps.

How can I create a web app in a region that's unavailable in the subscription?

Certain Azure regions require customers to go through a request process to gain access. For more information, see the Azure region access request process and Azure App Service available by region.

What if the requested SKU of the App Service Plan isn't available in the Resource Group?

Your App Service deployments may not have specific SKUs available due to constraints (for example, the SKU isn't available in the region or country).

If the requested SKU isn't available in the Resource Group, you must create a new App Service Plan in a new Resource Group in the same region or in the same Resource Group using a different region.

If you want to reuse the same Resource Group and region, you must delete all the App Services, App Service Plans, and Microsoft.Web/Certificates resources in this Resource Group, then create the desired SKU in this Resource Group. Note that migrating App Services originating in this Resource Group to another Resource Group won't unblock the creation.

Delete or restore a web app

If I delete all my web apps, will I still be charged?

Yes, charges will still apply unless you delete the App Service plan that the web app runs on and its all web apps.

To stop all billing associated with your App Service, you need to delete the App Service Plan or scale the App Service Plan to the free tier. For more information, see How much does my App Service Plan cost? and Plan and manage costs for Azure App Service.

I cannot create or delete a web app due to a permission error. What the permissions do I need to create or delete a web app?

You would need minimum Contributor access on the Resource Group to deploy App Services. If you have Contributor access only on App Service Plan and web app, it won't allow you to create the app service in the Resource Group.

For more information, see Azure built-in roles.

I'm trying to delete my App Service Plan, but I'm getting the following error "Storage usage quota exceeded. Can't update or delete a server farm. Please make sure your file system storage is below the limit of the target pricing tier". How and where do I check the file system storage limit?

During the deletion process, we calculate the usage of the remaining App Service Plans. If they are above the remaining limit, then this error appears.

The storage limit is the total content size across all apps in the same App Service Plan. The total content size of all apps across all App Service Plans in a single Resource Group and region can't exceed 500 GB. The file system quota for App Service hosted apps is determined by the aggregate of App Service Plans created in a region and Resource Group.

For more information, see App Service limits - Storage and App Service pricing.

Is there a way to list the deleted web apps for my Subscription?

You can run Get-AzDeletedWebApp to get the list of the web apps that were deleted within the last 30 days in your Subscription ID. Deleted apps are purged from the system 30 days after the initial deletion. After an app is purged, it can't be recovered. For more information, see List deleted apps.

How do I restore a deleted web app or a deleted App Service Plan?

If the web app was deleted within the last 30 days, you can restore it using Restore-AzDeletedWebApp. For more information, see Restore deleted app and Restore Deleted web apps.

Contact us for help

If you have questions or need help, create a support request, or ask Azure community support. You can also submit product feedback to Azure feedback community.