Adding adding Microsoft.Insights as a step

This is now a consistent issue so think we should just add it as step 1
This commit is contained in:
tofusgh 2021-01-07 11:21:23 -05:00 committed by GitHub
parent 89e38daef5
commit 5eae2149ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -169,12 +169,16 @@ In this task, you will swap the staging slot with the production slot
1. Verify the default web page has been replaced with the **Hello World!** page.
#### Task 6: Configure and test autoscaling of the Azure web app
>**Note**: You will need to confirm that Microsoft.Insights is registered on your subscription for this lab. For more information regarding this task, refer to https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/resource-providers-and-types#azure-portal
In this task, you will configure and test autoscaling of Azure web app.
1. First, you will need to confirm that Microsoft.Insights is registered on your subscription for this lab. You may run the following command to register this command:
```pwsh
Register-AzResourceProvider -ProviderNamespace 'Microsoft.Insights'
```
1. On the blade displaying the production slot of the web app, in the **Settings** section, click **Scale out (App Service plan)**.
1. Click **Custom autoscale**.