Hi @PaoloPia
I was trying to implement a subscription to receive notifications the same way that you have done in this solution MSGraphSDK4Subscriptions but I stumbled upon an issue with decrypt the encryptedContent.
Message: Internal.Cryptography.CryptoThrowHelper.WindowsCryptographicException: 'Access denied.'
Code where it raises the issue:
var attachedMessage = await notificationItem.EncryptedContent.DecryptAsync<ChatMessage>((id, thumbprint) => Task.FromResult(certificate));
do you maybe have any clue on where the issue might be.
Appreciate your support.!
Hi @PaoloPia
I was trying to implement a subscription to receive notifications the same way that you have done in this solution MSGraphSDK4Subscriptions but I stumbled upon an issue with decrypt the encryptedContent.
Message: Internal.Cryptography.CryptoThrowHelper.WindowsCryptographicException: 'Access denied.'
Code where it raises the issue:
var attachedMessage = await notificationItem.EncryptedContent.DecryptAsync<ChatMessage>((id, thumbprint) => Task.FromResult(certificate));do you maybe have any clue on where the issue might be.
Appreciate your support.!