This documentation is for Octopus Deploy Version 3.13. View other versions

Running Azure PowerShell

Last updated

When executing PowerShell against Azure, Octopus Deploy will automatically import the Azure PowerShell modules and authenticate with Azure using the configured Azure Account.

This applies to:

Azure PowerShell Module version
For information on viewing and configuration the version of the Azure PowerShell modules used by Octopus, see this page.

Choosing the right Azure Account type
Azure supports two authentication methods, each of which provides access to a different set of Azure APIs:

Learn more about configuring the right Azure Account.

Run an Azure PowerShell Script Step

Octopus Deploy provides a Run an Azure PowerShell Script step type, for executing PowerShell in the context of an Azure Subscription. For information about adding a step to the deployment process, see the add step section.

In This Section

The rest of this section covers these topics in some more detail, and explains how to implement them.