"$ResourceGroupName" is incorrectly reference when creating the Web App in the App Service Plan; it should:
New-AzWebApp -Name $AppName -ResourceGroupName $ResourceGroupName -Location $Location -AppServicePlan AppServiceManualScalePlan
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@SeanCLeavitt Thank you very much for bringing this to our attention! I shall submit a pull request to get this corrected.
@SeanCLeavitt I've verified that the correction is reflected in the original document against which the issue was raised. Thanks again for catching that error in the docs!
We're now going to close this thread as resolved. If there are any further questions regarding the documentation, please tag me in your reply and we'll be happy to continue the conversation.
The "Clean up deployment" section now fails as it reads:
Remove-AzResourceGroup -Name myResourceGroup -Force
Learners will get an error of "Provided resource group does not exists."
Recommend it is written correctly, for page consistency, as:
Remove-AzResourceGroup -Name $ResourceGroupName -Force
@SeanCLeavitt This is not an effect of the recent fix pushed and is best tracked in a separate issue. I see you did open it here with us. Thanks for letting us know! We shall update it as appropriate.