Forum Discussion
Schedule script to scale up AppServicePlan
- Mar 20, 2023
My suggestion would be to use Set-AzAppServicePlan in your Automation to do the resize, for example:
Set-AzAppServicePlan -ResourceGroupName "MyResourceGroup" -Name "MyAppPlan" -workerSize Large-workerSize Large equates to B3, and -workerSize Medium is B2
(edit- corrected a copy and paste error spotted by itglobalservice )
My suggestion would be to use Set-AzAppServicePlan in your Automation to do the resize, for example:
Set-AzAppServicePlan -ResourceGroupName "MyResourceGroup" -Name "MyAppPlan" -workerSize Large
-workerSize Large equates to B3, and -workerSize Medium is B2
(edit- corrected a copy and paste error spotted by itglobalservice )
Thank you Chris.
I will try this week your solution and let you know I noticed that you made a mistake in the example. You wrote "Set-AzFunctionAppPlan" and not "Set-AzAppServicePlan"
- ChrisBradshawMar 21, 2023Iron ContributorGood spot- Thanks, I've corrected my reply in case anyone comes across this in the future.
- HudsonCarvalhoMay 23, 2023Copper Contributor
ChrisBradshaw
I'm trying to execute a up scale to sku P2v3, but i get this error:Could you help me to solve this?
- itglobalserviceMay 24, 2023Copper ContributorAre you using the script posted by Chris ?