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 insights useful? Looking for a cost-effective, high-performance, and easy-to-use hyperconverged platform?
Taras Shved
Taras Shved StarWind HCI Appliance Product Manager
Look no further! StarWind HCI Appliance (HCA) is a plug-and-play solution that combines compute, storage, networking, and virtualization software into a single easy-to-use hyperconverged platform. It's designed to significantly trim your IT costs and save valuable time. Interested in learning more? Book your StarWind HCA demo now to see it in action!