File type cannot be inspected, CorrelationId=4ac4cbff-e67f-4ce9-81b7-254d7728cdb9, CorrelationId.Description=FileHandler

Tejasvini Shelar 0 Reputation points
2023-01-23T15:13:00.7933333+00:00

Hi Team,

I'm using Microsoft Graph v1.0 to read emails. Recently we started receiving emails which are encrypted with below label. User's image

When I'm trying to read the attachments of these emails, I'm receiving RPMSG file which I'm unable to decrypt. I'm using MIP SDK version 1.11.96 (I also tried upgrading it to latest version) but its not working. I'm getting error - "File type cannot be inspected" for inspectAsync() method. And "File is not decrypted" for GetDecryptedTemporaryFileAsync() method.

User's image

Please can you help me understand how this works to decrypt RPMSG files. Thank you in advance.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,645 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,277 questions
0 comments No comments
{count} votes