Hi,
We are deploying a cloud service comprising of worker and web roles to Azure using Octopus. Our custom DeployToAzure.ps1 Powershell script uses newer Azure cmdlets such as New-AzureSchedulerJobCollection (see http://msdn.microsoft.com/en-us/library/azure/dn759640.aspx) which are not supported with the Azure module packaged up with the Octopus Tentacle. Is there a workaround to support this newer functionality?
One attempt at working around the problem was to install the latest Azure SDK onto the Octopus deployment server and then to re-import the Azure module with the latest version, i.e.
Remove-Module Azure #Removes existing Azure module (cmdlets)
Import-Module c":\program files\.......\Azure.psd1" #Import the latest Azure modules installed from the SDK
This unfortunately seems to lose Azure subscription details. Any ideas?
Thanks,
Paul.