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.
I have tested in my environment to upgrade my App service plan fromP2V3 from S1.
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:
For more information please refer this MS DOC & SO THREAD
UPDATE:
Note:Please make sure that Powershell version is updated