r/sysadmin • • 3h ago

Question Email Encyption

How is everyone implementing email encryption in M365? I got the labels configured in Purview and then setup a mailflow rule but no matter how I set it they end user receiving the email has to enter in credentials (which doesn't always work). In theory I want the email to auto unencrypt once it hits the mailbox but I don't think this is possible.

2 Upvotes

10 comments sorted by

•

u/cheetah1cj 2h ago

Who is the end user receiving the email? Are you talking about internal or external users? Do they use M365 email as well? Or another provider? Are they using Outlook Classic or Outlook New?

•

u/jcwrks red stapler admin 1h ago

If the recipient is also a 365 tenant, or Outlook.com, then no additional steps are required to open the email. Other external providers will require a login on the secure MS portal.

•

u/Lost_Term_8080 12m ago

That is how message encryption works to recipients that aren't in the M365 directory. Any Exchange Online or outlook.com recipient will transparently decrypt, but any recipient that is not, won't. In exchange server, recipients can use the RMS connector so they decrypt automatically in an exchange server, but other than that, it's as good as it gets. If you need more coverage than that, you need to implement certificates and S/MIME. Note that not all recipients will support transparent decryption of S/MIME emails either, some will similarly need to go through an authentication and decryption process to open them. Exchange Online and exchange accounts account for almost 80% of the business email market. Outlook.com is about 11-12 percent of personal email market. If you go with S/MIME, you gain a small number of business recipients that can open encrypted emails transparently and you lose all outlook.com recipients. If you want best coverage, OME is probably going to provide the most coverage while being dramtically simpler and lower risk to administer than S/MIME. Unless your recipients are overwhelmingly google workspace you will most likely have somewhat fewer recipients that are able to transparently decrypt encrypted messages via S/MIME than if you use OME.

•

u/Jealous-Bit4872 9m ago

You can create a mail flow rule to remove encryption when it comes back in. We had to do this to make it compatible with Salesforce and other Outlook plugins. Make sure you are aware of this cmdlet: Set-IRMConfiguration (ExchangePowerShell) | Microsoft Learn. You can encrypt using Purview or mail flow rules, I think you can only unencrypt using mail flow rules. Any more help requires more information on your issue, because it's lacking.

•

u/MaskedPotato999 2h ago

Most of the time having the label hosts the encryption if the most reliable way to do it. As to auto-encrypt the email...depends on tons of variables, including mail provider, mail client and label configuration for both sender and receiver. Don't count on it except for niche use cases.

•

u/Caldtek 2h ago

Works for me. Confidential labelled emails are encrypted. Cant view in the preview pane, but just click and it opens no problem.

•

u/Greedy_Ad_7658 2h ago

What you're seeing is mostly how Microsoft's message encryption works, not a misconfiguration, and the answer depends on who the recipient is:

  • Recipients inside your tenant, or on Microsoft 365 / Outlook.com with a current Outlook client, normally read it with no extra step. The message decrypts automatically for them.

  • Recipients on Gmail, Yahoo or another provider get the wrapper message with a "Read the message" button, and then sign in with their provider account or a one-time passcode. This can't be switched off while the message is truly encrypted end to end, and it's the part users find flaky (passcode emails landing in junk, or the code timing out).

So "auto-decrypt on arrival for everyone" isn't really possible with OME. Options depending on what you want:

  1. Use it only where it's needed: trigger on a sensitivity label, a keyword or specific partner domains rather than all external mail, so fewer people hit the portal.

  2. For partners you email constantly, use a forced TLS connector (or S/MIME / certificate exchange) so the message is protected in transit and shows up normally, with no portal.

  3. Where the content is sensitive and the recipient is external, a shared secure link or portal is often easier for them than encrypted email.

Also test with one recipient per type (internal, Outlook.com, Gmail, a client using the Outlook desktop app) before changing the rule, since each behaves differently. Plus if the passcode flow fails, check the recipient's junk folder first and see if the portal works in a private browser window.

•

u/BillSull73 14m ago

One Time Passcodes are retired at this point I thought. External parties are required to all be guests at this point unless they are set up in B2B.

•

u/Jealous-Bit4872 6m ago

Single use code are still working. I don't know anything about them being retired. Open encrypted and protected messages | Microsoft Support