Azure / azure-powershell-migration

Tools and resources to help migrate PowerShell scripts between incompatible versions of Az and AzureRM modules
MIT License
35 stars 18 forks source link

please update latest AzureRM version from 6.13.1 to 6.13.2 #132

Closed jyama4ta closed 9 months ago

jyama4ta commented 11 months ago

Component [x] PowerShell module [] VSCode extension [] Other

Description of the issue Currently, AzureRM latest version is 6.13.2. Please update the hard-coded version from 6.13.1 to 6.13.2.

Describe how to reproduce the issue specify '-FromAzureRmVersion' to 6.13.2 and got an error.

Environment PS C:\Users\WDAGUtilityAccount> Get-InstalledModule -Name AzureRM

Version Name Repository Description


6.13.2 AzureRM PSGallery Azure Resource Manager Module

PS C:\Users\WDAGUtilityAccount> Get-InstalledModule -Name Az.Tools.Migration

Version Name Repository Description


11.0.0 Az.Tools.Migration PSGallery Contains functionality to upgrade PowerShell scripts and modules from AzureRM to Az.

Error output New-AzUpgradeModulePlan : Cannot validate argument on parameter 'FromAzureRmVersion'. The argument "6.13.2" does not belong to the set "6.13.1" specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again. At line:1 char:53

Additional context Add any other context or screenshots about the issue here.

VeryEarly commented 11 months ago

@isra-fel do you have context whether there are different syntax between 6.13.1 and 6.13.2

VeryEarly commented 10 months ago

support both azurerm versions even if there are no obvious differences between 6.13.1 and 6.13.2

jyama4ta commented 10 months ago

@VeryEarly , @isra-fel , Are there any update about this? With the upcoming retirement of AzureRM module, there is a need for a prompt update to this conversion tool.

isra-fel commented 10 months ago

@VeryEarly do you think we can plan it in this sprint or next? BTW

whether there are different syntax between 6.13.1 and 6.13.2

No. The only difference is that 6.13.2 added warning messages about the retirement.

jyama4ta commented 9 months ago

Hello @isra-fel , @VeryEarly , AzureRM module will retire this month. Currently, many customers are trying to migrate their scripts. I hope this issue will fix soon.