Hello Team,
As Microsoft has recently moved to AZ Modules and few of the fixes which didn’t came to RM modules, it’s available in AZ modules now. We would like to start migrating our Azure RM scripts which is used in Octopus Deploy to AZ. We are running the Octopus deploy on our VM (Self Hosted). Current Octopus Deploy version is v2019.9.10 LTS.
I have few queries before we start migrating the scripts!
-
As microsoft suggests we can’t have both AZ and RM module installed on same machine, if we need to migrate, we need to remove the RM module and install AZ module on Octopus Server. But when we are using it in Octopus from Step template, it’s having only on parent template (Built-in) which is “Run an Azure Powershell script” from where we put our custom Azure PowerShell script, but how does it authenticate with AZ commands from the Service Principals? Do we need to make any explicit changes to work with AZ commands?
-
Moreover in other octopus support forms, there were few mentions like we need to install the AZ command scoped to CurrentUser? Can’t we scope it to “AllUsers”?
-
Is there any documentation for using AZ scripts from Octopus Deploy? It would be very helpful for us to start migrating.
Cheers,
Karthikeyan