Azure / azure-powershell

Microsoft Azure PowerShell
Other
4.26k stars 3.86k forks source link

Migrating from AzureRM to Az is causing conflicts in Azure #10003

Open Damien-Displayr opened 5 years ago

Damien-Displayr commented 5 years ago

I have an issue with a dependency in Azure. I have a script, used for deployments. It leverages AzureRM, and Azure Powershell Modules. We need Azure as we are doing Cloud Service deployments.

I am migrating from AzureRM to Az as instructed here: https://docs.microsoft.com/en-us/powershell/azure/migrate-from-azurerm-to-az?view=azps-2.6.0

However, now that I have uninstalled AzureRM, I am getting an error:

image

Azure appears to depend on Azure.Storage. And Azure.Storage (despite it's name) is part of AzureRM - which is now gone. Is it possible to update Azure to depend on the newer Az module? Also, is this package still recommended to deal with Azure Cloud Services?

erich-wang commented 5 years ago

we're working on it and put into milestone 11-04

Damien-Displayr commented 5 years ago

Is there a work around? Can I keep AzureRM installed alongside Az for now?

Damien-Displayr commented 5 years ago

I get this error if I install both alongside each other:

image

Damien-Displayr commented 4 years ago

Hi, any update on this?