You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of the issue
We are trying migrate Azure RM modules to AZ modules. we expect the both commands to run but we see post installing AZ and Azure RM we got a error.
Error:
PS C:\Users\XXXXXX> Connect-AzureRmAccount
Connect-AzureRmAccount : Method 'get_SerializationSettings' in type
'Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient' from assembly
'Microsoft.Azure.Commands.ResourceManager.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an
implementation.
At line:1 char:1
Hi @rajasmr Az and AzureRM were not designed to work together. The main reason is that they depend on different versions of the same assemblies that cannot be imported to the same PowerShell session because they will conflict with each other.
Component
[] PowerShell module : 5.1
[] VSCode extension
[] Other
Description of the issue
We are trying migrate Azure RM modules to AZ modules. we expect the both commands to run but we see post installing AZ and Azure RM we got a error.
Error:
PS C:\Users\XXXXXX> Connect-AzureRmAccount
Connect-AzureRmAccount : Method 'get_SerializationSettings' in type
'Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient' from assembly
'Microsoft.Azure.Commands.ResourceManager.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an
implementation.
At line:1 char:1
Describe how to reproduce the issue
post install az module.
Install-Module -Name PowerShellGet -Force
Environment
DEV
Error output
Share the error log
Additional context
Add any other context or screenshots about the issue here.
The text was updated successfully, but these errors were encountered: