Skip to content

Commit c0f7094

Browse files
authored
Merge pull request #188271 from Heidilohr/work-update-scaling
Added note to scaling about updating policy.
2 parents a4264a4 + 8e7d023 commit c0f7094

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

articles/virtual-desktop/set-up-scaling-script.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Scale session hosts Azure Automation - Azure
33
description: How to automatically scale Azure Virtual Desktop session hosts with Azure Automation.
44
author: Heidilohr
55
ms.topic: how-to
6-
ms.date: 03/09/2021
6+
ms.date: 02/10/2022
77
ms.author: helohr
88
manager: femila
99
---
@@ -112,6 +112,9 @@ First, you'll need an Azure Automation account to run the PowerShell runbook. Th
112112
.\CreateOrUpdateAzAutoAccount.ps1 @Params
113113
```
114114
115+
>[!NOTE]
116+
>If your policy doesn't let you create scaling script resources in a specific region, update the policy assignment and add the region you want to the list of allowed regions.
117+
115118
5. The cmdlet's output will include a webhook URI. Make sure to keep a record of the URI because you'll use it as a parameter when you set up the execution schedule for the Azure Logic App.
116119
117120
6. If you specified the parameter **WorkspaceName** for Log Analytics, the cmdlet's output will also include the Log Analytics Workspace ID and its Primary Key. Make sure to remember URI because you'll need to use it again later as a parameter when you set up the execution schedule for the Azure Logic App.
@@ -143,7 +146,7 @@ To create a Run As account in your Azure Automation account:
143146
144147
5. Wait a few minutes for Azure to create the Run As account. You can track the creation progress in the menu under Notifications.
145148
146-
6. When the process finishes, it will create an asset named **AzureRunAsConnection** in the specified Azure Automation account. Select **Azure Run As account**. The connection asset holds the application ID, tenant ID, subscription ID, and certificate thumbprint. You can also find the same information on the **Connections** page. To go to this page, in the pane on the left side of the window, select **Connections** under the **Shared Resources** section and click on the connection asset named **AzureRunAsConnection**.
149+
6. When the process finishes, it will create an asset named **AzureRunAsConnection** in the specified Azure Automation account. Select **Azure Run As account**. The connection asset holds the application ID, tenant ID, subscription ID, and certificate thumbprint. You can also find the same information on the **Connections** page. To go to this page, in the pane on the left side of the window, select **Connections** under the **Shared Resources** section and select the connection asset named **AzureRunAsConnection**.
147150
148151
## Create the Azure Logic App and execution schedule
149152

0 commit comments

Comments
 (0)