Home > Net >  Upgrade Azure App Service with Powershell
Upgrade Azure App Service with Powershell

Time:12-21

I am trying to upgrade an app service plan(ASP) to the specific premium tier P2V3 from S1.

I am using the following piece of code:

Set-AzAppServicePlan -ResourceGroupName "<RG Group Name>" -Name "<App service Name>" -Tier "PremiumV3" -WorkerSize Medium | Out-null;

It is upgrading from S1 to P1. Any clue on this? would greatly appreciate it. couldn't find similar post.

CodePudding user response:

I have tested in my environment to upgrade my App service plan fromP2V3 from S1.

  • Created an app service plan with S1 Plan. enter image description here

To upgrade our Azure appservice plan to premium tier P2V3 from S1 we need to run the below cmd

Set-AzAppServicePlan -ResourceGroupName "nameofrg" -Name "Ajupgrade" -Tier "PremiumV3" -WorkerSize "Medium"

Here is output screenshot for reference: enter image description here enter image description here

For more information please refer this MS DOC & SO THREAD

  • Related