Hi All,
We are using office365 classic activities currently and we are using a flow for authentication with certificates.
We need to renew our certificate, however, the new certificate is not working even though it should have been generated similar to the old one.
The password of the certificate is correct. When trying to manually connect to the graph api, the certificate can be used when read directly from the local path. When converting it to Base64 and trying to read it that way (in office365 scope authorization), it gives the following exception:
The current exception that we receive is:
“Microsoft.Graph.ServiceException: Code: generalException
Message: An error occurred sending the request.
—> Internal.Cryptography.CryptoThrowHelper+WindowsCryptographicException: The specified network password is not correct. at Internal.Cryptography.Pal.CertificatePal.FilterPFXStore(ReadOnlySpan1 rawData, SafePasswordHandle password, PfxCertStoreFlags pfxCertStoreFlags) at Internal.Cryptography.Pal.CertificatePal.FromBlobOrFile(ReadOnlySpan1 rawData, String fileName, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags)”
What can be done to remedy this problem?