Method ‘get_SerializationSettings’ error when Login-AzureRMAccount

Error:

Login-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
+ Login-AzureRMAccount
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Connect-AzureRmAccount], TypeL
oadException
+ FullyQualifiedErrorId : System.TypeLoadException,Microsoft.Azure.Commands
.Profile.ConnectAzureRmAccountCommand

Resolution:
Close Powershell and relaunch, Install AzureRM Powershell Module using the article if you haven’t installed

if you have already installed, follow the below commands,

open powershell and run the commands
Command 1: import-module -Name Azurerm
Command 2:Login-AzureRMAccount

Now you can see that you’re able to login without any issues.

1 Comment

  • Priti says:

    HI Radhakrishnan,

    I have installed and imported AzureRM 6.13.1 version modules but still get this error –
    Login-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
    + Login-AzureRmAccount
    + ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [Connect-AzureRmAccount], TypeLoadException
    + FullyQualifiedErrorId : System.TypeLoadException,Microsoft.Azure.Commands.Profile.ConnectAzureRmAccountCommand

    Any ideas on how to fix this please?

Leave a Reply to Priti Cancel reply

Your email address will not be published.