Issues icon indicating copy to clipboard operation
Issues copied to clipboard

Run an Azure Script shows warnings for outdated Azure RM module

Open mik-ky opened this issue 3 years ago • 1 comments

The error is shown in this build (deploy instance) under Run an Azure Script step.

The error message:

The command Disable-AzureRMContextAutosave is in the AzureRM PowerShell module, which is outdated. 
See https://go.microsoft.com/fwlink/?linkid=2202029 for instructions to migrate to Az. 

In migration docs it mentions that we should move away from Azure RM in favour of Azure modules, and microsoft is planning to retire AzureRM PowerShell modules on 29 February 2024. Other octopus provided steps that use this module may also be affected (in the near future).

mik-ky avatar Aug 23 '22 22:08 mik-ky

After updating our Azure CLI tools we are also getting these warning. All our deploys now have warnings all over them now. image

toby-freemarket avatar Oct 27 '22 10:10 toby-freemarket

Forum ticket: https://help.octopus.com/t/suppress-disable-azurermcontextautosave-warning-and-intelligent-feature-recommendation/28684/3

paraicoceallaigh avatar Jan 18 '23 22:01 paraicoceallaigh

Any plans when this could be fixed? It indicates a wrong status, all deployments are affected image

e-jr avatar Feb 28 '23 07:02 e-jr

Release Note: Using Azure PowerShell modules over AzureRM on Windows PowerShell

octoreleasebot avatar Apr 20 '23 04:04 octoreleasebot