You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [X] bug report -> please search issues before submitting
- [ ] feature request
- [ X] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
From Powershell Core (7.2.1) run .\Cleanup.ps1
Any log messages given by the failure
Connect-AzureAD: ms-identity-aspnet-webapi-onbehalfof\AppCreationScripts\Cleanup.ps1:44
Line |
44 | … $creds = Connect-AzureAD -Credential $Credential -AzureEnvironment …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| One or more errors occurred. (Could not load type 'System.Security.Cryptography.SHA256Cng' from assembly
| 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.): Could not load type
| 'System.Security.Cryptography.SHA256Cng' from assembly 'System.Core, Version=4.0.0.0, Culture=neutral,
| PublicKeyToken=b77a5c561934e089'.
Expected/desired behavior
OS and Version?
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
11
Versions
Mention any other details that might be useful
PowerShell/PowerShell#10473 looks to be still going on with PWSH CORE connecting to AAD. If there is a known workaround, please include that in the App Creation Scripts README. Otherwise, please specify Powershell 5.1 needs to be used to run the scripts.
Thanks! We'll be in touch soon.
The text was updated successfully, but these errors were encountered:
This issue is for a: (mark with an
x
)Minimal steps to reproduce
From Powershell Core (7.2.1) run .\Cleanup.ps1
Any log messages given by the failure
Connect-AzureAD: ms-identity-aspnet-webapi-onbehalfof\AppCreationScripts\Cleanup.ps1:44
Line |
44 | … $creds = Connect-AzureAD -Credential $Credential -AzureEnvironment …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| One or more errors occurred. (Could not load type 'System.Security.Cryptography.SHA256Cng' from assembly
| 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.): Could not load type
| 'System.Security.Cryptography.SHA256Cng' from assembly 'System.Core, Version=4.0.0.0, Culture=neutral,
| PublicKeyToken=b77a5c561934e089'.
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful
PowerShell/PowerShell#10473 looks to be still going on with PWSH CORE connecting to AAD. If there is a known workaround, please include that in the App Creation Scripts README. Otherwise, please specify Powershell 5.1 needs to be used to run the scripts.
The text was updated successfully, but these errors were encountered: