How to update WVD Scaling tool to latest published version

%3CLINGO-SUB%20id%3D%22lingo-sub-1326581%22%20slang%3D%22en-US%22%3EHow%20to%20update%20WVD%20Scaling%20tool%20to%20latest%20published%20version%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1326581%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EBelow%20are%20the%20steps%20to%20update%20the%20Azure%20automation-based%20scaling%20tool%20located%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fvirtual-desktop-fall-2019%2Fset-up-scaling-script%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E%20to%20latest%20version%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%3CSPAN%3EAccess%20below%20link%20and%20copy%20the%20content%20of%20basicScale.ps1%20code%20into%20a%20clipboard%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2FRDS-Templates%2Fmaster%2Fwvd-templates%2Fwvd-scaling-script%2FbasicScale.ps1%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fraw.githubusercontent.com%2FAzure%2FRDS-Templates%2Fmaster%2Fwvd-templates%2Fwvd-scaling-script%2FbasicScale.ps1%3C%2FA%3E%3C%2FP%3E%0A%3COL%20start%3D%222%22%3E%0A%3CLI%3ELogin%20to%20the%20Azure%20portal%3C%2FLI%3E%0A%3CLI%3EIn%20the%20Azure%20portal%2C%20select%20%3CSTRONG%3EAll%20services%3C%2FSTRONG%3E.%20In%20the%20list%20of%20resources%2C%20enter%20and%20select%20%3CSTRONG%3EAutomation%20Accounts%3C%2FSTRONG%3E.%3C%2FLI%3E%0A%3CLI%3EOn%20the%20%3CSTRONG%3EAutomation%20Accounts%3C%2FSTRONG%3E%20page%2C%20select%20the%20name%20of%20Automation%20account%20where%20you%20have%20the%20scaling%20tool%20hosted%3C%2FLI%3E%0A%3CLI%3EClick%20on%20%3CSTRONG%3ERunbooks%3C%2FSTRONG%3E%20under%20%3CSTRONG%3EProcess%20Automation%3C%2FSTRONG%3E%20section%20on%20the%20left%20hand%20side%20pane.%3C%2FLI%3E%0A%3CLI%3EClick%20on%20PowerShell%20Runbook%20named%20%E2%80%9CWVDAutoScaleRunbook%E2%80%9D%3C%2FLI%3E%0A%3CLI%3EClick%20on%20%3CSTRONG%3EEdit%20%3C%2FSTRONG%3Efrom%20the%20top%20pane%3C%2FLI%3E%0A%3CLI%3EReplace%20the%20existing%20code%20with%20one%20from%20Step%201%3C%2FLI%3E%0A%3CLI%3EClick%20%E2%80%9C%3CSTRONG%3ESave%3C%2FSTRONG%3E%E2%80%9D%20and%20%E2%80%9C%3CSTRONG%3EPublish%3C%2FSTRONG%3E%E2%80%9D%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3ENew%20code%20will%20come%20into%20effect%20from%20next%20run%20of%20the%20runbook%20based%20on%20recurrence%20interval%20you%20have%20scheduled.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1326581%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Ewvdupdate%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1416329%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20update%20WVD%20Scaling%20tool%20to%20latest%20published%20version%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1416329%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F305420%22%20target%3D%22_blank%22%3E%40Roop_WVD%3C%2FA%3E%26nbsp%3B%20I%20was%20not%20able%20to%20create%20the%20Logic%20app%20in%20Spring%20Update%20as%20per%20Article-%26nbsp%3B%3CA%20title%3D%22WVD%20FALL%20update%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fvirtual-desktop-fall-2019%2Fset-up-scaling-script%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fvirtual-desktop-fall-2019%2Fset-up-scaling-script%3C%2FA%3E%26nbsp%3B.%20Can%20you%20help%20me%20to%20create%20the%20same%20in%20Spring%20Update%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Microsoft

Below are the steps to update the Azure automation-based scaling tool located here to latest version

 

  1. Access below link and copy the content of basicScale.ps1 code into a clipboard

https://raw.githubusercontent.com/Azure/RDS-Templates/master/wvd-templates/wvd-scaling-script/basicS...

  1. Login to the Azure portal
  2. In the Azure portal, select All services. In the list of resources, enter and select Automation Accounts.
  3. On the Automation Accounts page, select the name of Automation account where you have the scaling tool hosted
  4. Click on Runbooks under Process Automation section on the left hand side pane.
  5. Click on PowerShell Runbook named “WVDAutoScaleRunbook”
  6. Click on Edit from the top pane
  7. Replace the existing code with one from Step 1
  8. Click “Save” and “Publish

New code will come into effect from next run of the runbook based on recurrence interval you have scheduled.

1 Reply

@Roop_WVD  I was not able to create the Logic app in Spring Update as per Article- https://docs.microsoft.com/en-us/azure/virtual-desktop/virtual-desktop-fall-2019/set-up-scaling-scri... . Can you help me to create the same in Spring Update?