Run Azure PowerShell script on a tentacle


(rsingh) #1

We have a shared Octopus server. Each team gets their own tentacle.
We want to run Azure PowerShell script.
I updated Azure PowerShell SDK on our tentacle.

When I ran my deployment it failed with an error that Invoke-azurermvmruncommand was not found.
I can log into the tentacle and run the command so command is available on the server.
I set Octopus.Action.Azure.UseBundledAzurePowerShellModules to False but it did not a difference.
Octopus server is 3.14

there are instructions here for selecting azure powershell for version 3.2 or lower.
Our octopus server is 3.14. However these instructions are for server only.

Since it is a shared environment so I am trying to avoid updating Azure powershell on the shared Octopus server.

Is it possible to execute the Azure PowerShell script step on the tentacle?
When I add an Azure PowerShell step it automatically selects “Octopus Server”

Let us know if you have any suggestions.