Method ‘get_SerializationSettings’ error when Login-AzureRMAccount


Login-AzureRMAccount : Method ‘get_SerializationSettings’ in type
‘Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient’ from
assembly ‘Microsoft.Azure.Commands.ResourceManager.Common, Version=,
Culture=neutral, PublicKeyToken=31bf3856ad364e35’ does not have an
At line:1 char:1
+ Login-AzureRMAccount
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Connect-AzureRmAccount], TypeL
+ FullyQualifiedErrorId : System.TypeLoadException,Microsoft.Azure.Commands

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.

Leave a Reply

Your email address will not be published. Required fields are marked *