I am trying to follow this article:
Migrate an Azure Virtual Network from classic to Resource Manager using Azure PowerShell
https://aka.ms/AAflak0
I'm able to get to "Retrieve the virtual network name to be migrated".
When I execute Add-AzureAccount, I get this error message:
PowerShell 7.3.8
PS C:\Users\micha> Add-AzureAccount
WARNING: Because the Az modules have all the capabilities of AzureRM modules and more, we will retire the AzureRM modules on 29 February 2024. Learn more about the migration to Az: http://aka.ms/azpsmigrate.
Add-AzureAccount: Could not load type 'System.Security.Cryptography.SHA256Cng' from assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.