EXO connection failing with certificate error

Hi Team,

Version 8.2.1

ExO connection which used to be working till yesterday failed with below error today,

Script used to connect : Connect-ExchangeOnline -CertificateThumbprint '***************************************'-AppID '734873534854-c3e3-4cab-a53d-4bc405e66d11' -Organization 'ABC.onmicrosoft.com' -ShowBanner:$false

Any suggestions how to fix this error?

Could not use the certificate for signing. See inner exception for details. Possible cause: this may be a known issue with

apps build against .NET Desktop 4.6 or lower. Either target a higher version of .NET desktop - 4.6.1 and above, or use a
different certificate type (non-CNG) or sign your own assertion as described at aka.ms/msal-net-signed-assertion.
At C:\Program Files\WindowsPowerShell\Modules\ExchangeOnlineManagement\3.0.0\netFramework\ExchangeOnlineManagement.psm1:726
char:21
+ throw $_.Exception.InnerException;
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [], MsalClientException
+ FullyQualifiedErrorId : Could not use the certificate for signing. See inner exception for details. Possible cause: t
his may be a known issue with apps build against .NET Desktop 4.6 or lower. Either target a higher version of .NET desk
top - 4.6.1 and above, or use a different certificate type (non-CNG) or sign your own assertion as described at https:/
/aka.ms/msal-net-signed-assertion.

Parents Reply Children
No Data