Run Azure PowerShell script on a tentacle

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.


Thanks for getting in touch! I may need to get some further information from you here. I believe the first step would be to see your full deployment log where you get this error. Would you be able to follow this documentation and attach your deployment log?

This should give me a better idea of what is going wrong with your deployment and how I can help.

Looking forward to hearing from you.

Best regards,