Forum Discussion

ItsNotALakeItsAnOcean's avatar
ItsNotALakeItsAnOcean
Copper Contributor
Dec 12, 2018

Office 365 Message Encryption: Error setting DecryptAttachmentFromPortal to $true

Hello everyone,

 

I would like to implement Office 365 Message Encryption using Azure Information Protection. Per default, attachments are being encrypted with the same policy as the email itself. Thanks to VasilMichev, I am aware of the DecryptAttachmentFromPortal attribute for the Information Rights Management (IRM). Setting that to $true results in an automatic decryption of any attachment when downloading it.

 

However, I always get an error when I try to do that:

 

 

As you can see, the (relatively similar) option DecryptAttachmentForEncryptOnly works perfectly. However, the option DecryptAttachmentFromPortal which I'd like to use doesn't work although the syntax seems to be right and I am referencing on the official Microsoft documentation.

 

Of course, I searched for possible solutions on the internet but only found one hit. The recommendation to create a new administrator and try this process with its (new) credentials did not work for me though.

 

Can anyone help me with this error? Maybe Caroline Shin? I would highly appreciate it.

 

Thanks and have a great day!

  • Well, I tried it in few tenants I have access to, no luck. It doesn't even seem to be available in the definition of the Set-IRMConfiguration cmdlet, so it's not an issue with user, permissions or licenses. Most likely another case of the documentation being ahead of the actual rollout.

     

    I've left feedback on the documentation just in case.

    • ItsNotALakeItsAnOcean's avatar
      ItsNotALakeItsAnOcean
      Copper Contributor

      Thank you very much for your reply. I've tried it in several tenants as well and luckily, it finally worked in the one where I wanted to implement it (customer). Thank you for reporting it, though. In the end, it needs to work everywhere.

      • Carol Bailey's avatar
        Carol Bailey
        Icon for Microsoft rankMicrosoft

        We've just learned that DecryptAttachmentFromPortal is deprecated and instead, you should use the DecryptAttachmentForEncryptOnly parameter.  The Azure Information Protection documentation has been updated with this information & I'm told the PowerShell reference documentation update is in progress.

Resources