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

VSAN from StarWind eliminates any need for physical shared storage just by mirroring internal flash and storage resources between hypervisor servers. Furthermore, the solution can be run on the off-the-shelf hardware. Such design allows VSAN from StarWind to not only achieve high performance and efficient hardware utilization but also reduce operational and capital expenses.
Find out more about ➡ VSAN from StarWind

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

Updated module

Views All Time
43
Views Today
107
Appreciate how useful this article was to you?
No Ratings Yet
Loading...
Back to blog
The following two tabs change content below.
Florent Appointaire
Florent Appointaire is Microsoft Engineer with 5 years of experience, specialized in Cloud Technologies (Public/Hybrid/Private). He is a freelance consultant in Belgium from the beginning of 2017. He is MVP Cloud and Datacentre Management. He is MCSE Private Cloud and Hyper-V certified. His favorite products are SCVMM, SCOM, Windows Azure pack/Azure Stack and Microsoft Azure.
Latest posts by Florent Appointaire (see all)