Hi is there a powershell script for moving a web app to an another app service plan who is not in the same resourcegroup. Or can we create a web app where the app service plan is not in the same resource group.
New-AzWebApp -ResourceGroupName $WebAppResourceGroup -Name $testWebAppName -location $location `
-AppServicePlan $appServicePlan01
This script create a new webapp and a new app service plan even there is one exist with the same name. so in case when a want to move the problem resiste the same i cant move it to an existing app service plan.
Set-AzWebApp -Name $WebAppName -ResourceGroupName $WebAppResourceGroup `
-AppServicePlan $appServicePlan02
is there a powershell cmdlet for doing this or do I move the webapp trough the portal.
Thanks