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"