Forum Discussion
Bernd_Kroon
Dec 12, 2020Brass Contributor
Connect-SPOService: Could not load type 'System.Security.Cryptography.SHA256Cng' .....
Mu environment: Windows 10 installed PowerShell 7.1 Running Microsoft Sharepoint Online command "connect-SPOService" using elevated session does not work when running PowerShell 7.1, but does work...
- Dec 12, 2020
The module is not supported on PSCore/7.1, it has dependencies on .Net libraries which are not supported there. It should run fun in compatibility mode though (use the UseWindowsPowerShell switch with Import-Module).
VasilMichev
Dec 12, 2020MVP
The module is not supported on PSCore/7.1, it has dependencies on .Net libraries which are not supported there. It should run fun in compatibility mode though (use the UseWindowsPowerShell switch with Import-Module).