Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate from AzureRM to AZ Modules #354

Open
ixtlanian opened this issue Jan 25, 2023 · 0 comments
Open

Migrate from AzureRM to AZ Modules #354

ixtlanian opened this issue Jan 25, 2023 · 0 comments

Comments

@ixtlanian
Copy link

Is your feature request related to a problem? Please describe.

https://github.com/cyberark/pas-on-cloud/blob/master/azure/import-pas-images.ps1 is currently using AzureRM modules commands. According to Microsoft (https://learn.microsoft.com/en-us/powershell/azure/migrate-from-azurerm-to-az) AzureRM modules will be retired on 29 Feb 2024.
Moreover, currently people who use the new AZ modules cannot have them easily co-exist with AzureRM due to overlapping namespacess (requires allowing clobber as described in https://blog.blksthl.com/2020/10/22/install-the-powershell-az-module-even-if-azurerm-is-installed/).

Describe the solution you would like

Migrate from AzureRM cmdlets to AZ cmdlets - we were able to complete the entire script rewrite in under 30 minutes including full testing. In most cases it is as simple as replacing "AzureRM" or "Azure" text in the name of the cmdlet with "AZ"

Describe alternatives you have considered

N/A

Additional context

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants