We're Hiring!
Take the next step in your career and work on diverse technology projects with cross-functional teams.
LEARN MORE
Mountain West Farm Bureau Insurance
office workers empowered by business technology solutions
BLOG
10
31
2018
3.1.2023

How to Extend Your Azure Automation Library Modules

Last updated:
9.16.2020
3.1.2023
No items found.

Freddy Mora Silva is Senior Technical Consultant at Infront Consulting. Connect with him on LinkedIn.

Azure Automation is a cloud-based configuration service that automatically manages your Azure and non-Azure environments based on your runbooks, update management features, and shared capabilities like access controls, global storage of credentials/certificates/etc, tags, and more.

Included in Azure Automation is the option to extend your libraries. You can import a set of libraries called Modules to your automation account from a preexisting list that can be found in the Gallery or by uploading script files of your own.

Below you’ll see where to upload or choose these Modules.

You may upload by pressing the + Add a module button and selecting a script file or multiple files in zip format.

This option gives you the flexibility to upload your own modules.

This is an easy way to reuse scripts. One key important aspect to consider is that these modules must be created for Azure. This means they require the module manifest file to be included in the zip file. If it is not there, Azure cannot load it automatically.

Another option is to search within the Gallery:

This allows you to search from different publishers (mainly Microsoft) with Module libraries that are required for implementing common automation tasks, such as Azure Storage mdlets, PowerShell management, and much more. You can find modules for Azure, Azure Storage, ARM Profile, Azure AD, and others more specific to certain technologies like Windows Update, PosSSH, SQLServer, and much more.

Just select the module(s) you want to add to your automation account, and you will be prompted if you need other modules or versions before installation.

What I find very important is the very detailed information about the different cmdlets included in the module. This includes links to the documentation; in some cases to the PS Gallery or website, the current version, number of downloads, or date of last version update.


When you import your new Module, you will be prompted to accept it:

Once the import process is completed, the new module will be listed:


You can also update all the Modules to the most recent versions by clicking the Update Azure Modules button at the top of the list.


Now you’ve installed your first Modules and you’re ready to start Automating!

Recent Blog Posts

lunavi logo alternate white and yellow
3.27.2024
03
.
27
.
2024
Utilizing Bicep Parameter Files with ALZ-Bicep

Ready to achieve more efficient Azure Deployments? You can use Bicep parameters instead of JSON which opens new opportunities for deployment. Let Lunavi expert, Joe Thompson, show you how.

Learn more
lunavi logo alternate white and yellow
3.26.2024
03
.
04
.
2024
Anticipating Surges in Cyber Attacks and Bolstering Your InfoSec Defenses in 2024

Learn how to navigate 2024 with the right InfoSec defenses to protect your organization against a rising number of cyber attacks.

Learn more
lunavi logo alternate white and yellow
3.26.2024
01
.
03
.
2024
Microsoft Copilot is Re-Shaping the Innovation Frontier

Microsoft 365 Copilot has been released, and it's changing the way we work. More than OpenAI or ChatGPT, read how Copilot can seamlessly integrate with your workflow.

Learn more