Search
StarWind is a hyperconverged (HCI) vendor with focus on Enterprise ROBO, SMB & Edge

[Azure] Update your Azure Automation modules

  • May 19, 2020
  • 4 min read
Cloud and Virtualization Architect. Florent is specializing in public, hybrid, and private cloud technologies. He is a Microsoft MVP in Cloud and Datacenter Management and an MCSE in Private Cloud.
Cloud and Virtualization Architect. Florent is specializing in public, hybrid, and private cloud technologies. He is a Microsoft MVP in Cloud and Datacenter Management and an MCSE in Private Cloud.

The Update Azure Modules UX feature has been deprecated

Microsoft changed the way to update your Azure Automation modules. Before, you clicked on the Update Azure modules button, and all modules had been updated. From now, when you click on it, you have the following message:

The Update Azure Modules UX feature has been deprecated. To improve your ability to control the module update process, the runbook that supports module update is available in GitHub as open source. You can now download the runbook and import it to your Automation account and run it whenever you want or have it run periodically on a schedule. You can also suggest changes to the runbook and they will be reviewed by the Automation team. We suggest that you download the open source runbook to your Automation account and use it to update your Azure modules. Learn more

Update Azure modules

Now, you need to create a new runbook, with the following script:

https://github.com/microsoft/AzureAutomation-Account-Modules-Update/blob/master/Update-AutomationAzureModulesForAccount.ps1

wp-image-14548

You can just run it, by clicking on Start or you can schedule it, to update your modules, every X days.

When you click on start, it will ask you some parameters. But, only 2 are mandatory:

  • ResourceGroupName: the name of the resource group where the automation account is located, with modules to update
  • AutomationAccountName: the name of the automation account, with modules to update

AutomationAccount

When the runbook starts, you will see the following message in the Modules menu:

Modules menu

Azure modules

When the script is finished, your modules have been updated:

Updated module

Hey! Found Florent’s article helpful? Looking to deploy a new, easy-to-manage, and cost-effective hyperconverged infrastructure?
Alex Bykovskyi
Alex Bykovskyi StarWind Virtual HCI Appliance Product Manager
Well, we can help you with this one! Building a new hyperconverged environment is a breeze with StarWind Virtual HCI Appliance (VHCA). It’s a complete hyperconverged infrastructure solution that combines hypervisor (vSphere, Hyper-V, Proxmox, or our custom version of KVM), software-defined storage (StarWind VSAN), and streamlined management tools. Interested in diving deeper into VHCA’s capabilities and features? Book your StarWind Virtual HCI Appliance demo today!