I installed the latest ExchangeOnline V2 preview module in the VSCode PowerShell 7 terminal. When I try to connect-exchangeonline, I get this error after authenticating:
New-ExoPSSession: C:\Users\xxxx\Documents\PowerShell\Modules\ExchangeOnlineManagement\2.0.3\ExchangeOnlineManagement.psm1:426:30 Line | 426 | … PSSession = New-ExoPSSession -ExchangeEnvironmentName $ExchangeEnviro … | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Could not load type 'System.Security.Cryptography.SHA256Cng' from assembly 'System.Core, Version=4.0.0.0, Culture=neutral,
The same error occurs with AzureAD.
Is it possible to use this configuration?