A2oz

How Do I Change the App Service Plan of an App Service in Azure?

Published in Azure App Service 2 mins read

You can change the App Service plan of an App Service in Azure using the Azure portal, Azure CLI, or Azure PowerShell.

Using the Azure Portal:

  1. Navigate to your App Service: In the Azure portal, search for and select your App Service.
  2. Access the App Service Plan: In the App Service overview, locate the "App Service Plan" section and click on the name of the plan.
  3. Select a New Plan: In the App Service Plan overview, click on "Change App Service Plan". Choose the desired plan from the list and click "Select".
  4. Confirm Changes: Review the changes and click "Confirm" to apply the new App Service plan to your App Service.

Using Azure CLI:

  1. Install the Azure CLI: If you haven't already, install the Azure CLI from https://docs.microsoft.com/en-us/cli/azure/install-azure-cli.
  2. Log in to Azure: Use the command az login to log in to your Azure account.
  3. Update the App Service Plan: Use the command az webapp update --name <app-service-name> --resource-group <resource-group-name> --app-service-plan <new-app-service-plan-name> to update the App Service plan.

Using Azure PowerShell:

  1. Install Azure PowerShell: Install Azure PowerShell from https://docs.microsoft.com/en-us/powershell/azure/install-az-ps.
  2. Connect to Azure: Use the command Connect-AzAccount to connect to your Azure account.
  3. Update the App Service Plan: Use the command Set-AzWebApp -ResourceGroupName <resource-group-name> -Name <app-service-name> -AppServicePlan <new-app-service-plan-name> to update the App Service plan.

Important Considerations:

  • Downtime: Changing the App Service plan might result in a brief downtime for your application.
  • Pricing: Make sure to check the pricing for the new App Service plan before switching.
  • Resources: Ensure that the new plan has sufficient resources for your application.

Related Articles