Hello @TomMoser, great content, I have specific question: https://stackoverflow.com/questions/55732310/azure-information-protection-how-to-decrypt-emls-coming-from-ews-api
For visibility I am pasting content here as well:
Given:
--We use EWS API to download email messages from Office 365 (Exchange Online)
--When emails are encrypted using AIP, body comes in encrypted
--Admin user is super-user - this user's creds are used to make requests against EWS
Ask:
--In order to decrypt, it seems that we need to use https://docs.microsoft.com/en-us/information-protection/develop/concept-handler-protection-cpp. Is this the correct API to use? enter image description here
--If so, above API is in C++. Is there anything available in C#? --Simple samples of how to decrypt a message would be appreciated?
--Final question, is there a way to avoid decryption all together by setting some higher-level permission on the user that we use for EWS?