Microsoft Purview Information Protection
General

Add Your Organization Brand To Encrypted Messages

In brief

The article now explains creating branding templates with Exchange Online PowerShell and applying them through either an Exchange mail flow rule or a Purview DLP policy rule. It clarifies that branding does not encrypt messages and adds rule-scope guidance.

What Purview admins need to know

Choose the rule type that fits your process. DLP rules must be scoped only to Exchange, and messages must already be encrypted before branding is applied.

Summaries are generated from the documentation change itself.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

Microsoft Purview service description

Apply your company branding to customize the look of your organization's encrypted email messages and the encryption portal. You need to apply sufficient permissions to your work or school account before you can get started, for example Compliance Administrator. You customize branding in one of two ways, using

First, use Exchange Online PowerShell orto create and customize branding templates. Then, apply a branding template to encrypted messages by using either:

  • An Exchange mail flow rule.
  • A Microsoft Purview Data Loss Prevention (DLP) policies.

    For more information about using Microsoft Purview Data Loss Prevention (DLP) policies to add customized branding to encrypted messages, see these resources.

    The following sections describe how to use Exchange Online PowerShell to customize branding.

    Use the Get-OMEConfiguration and Set-OMEConfiguration cmdlets in Exchange Online PowerShell to customize these parts of encrypted email messages:

    You can also revert back to the default look and feel at any time.

    If you'd like more control, use Microsoft Purview Advanced Message Encryption to create multiple templates for encrypted emails originating from your organization. Use these templates to control parts of the end-user experience. For example, specify whether recipients can use Google, Yahoo, and Microsoft Accounts to signthe authentication options available in to the encryption portal. Use templates to fulfill several use cases, such as:

    • Individual departments, such as Finance, Sales, and so on.
    • Different products
    • Whether you want to allow emails to be revoked
    • Whether you want emails sent to external recipients to expire after a specified number of days.

    Once you've created the templates, apply them to encrypted emails sent from your online mailbox by using Exchange mail flow rules or DLP policy rules. If you have Microsoft Purview Advanced Message Encryption, you can revoke any email that you have branded.

    Important

    | Disclaimer statement in the email that contains the encrypted message | Set-OMEConfiguration -Identity "<OMEConfigurationName>" -DisclaimerText "<Disclaimer statement. String of up to 1024 characters.>"
    Example:

    Set-OMEConfiguration -Identity "Branding Template 1" -DisclaimerText "This message is confidential for the use of the addressee only." | | Text that appears at the top of the encrypted mail viewing portal | Set-OMEConfiguration -Identity "<OMEConfigurationName>" -PortalText "<Text for your portal. String of up to 128 characters.>"
    Example:

    Set-OMEConfiguration -Identity "Message encryption cfonfiguration" -PortalText "ContosoPharma secure email portal." | | To enable or disable authentication with a one-time pass code for this custom template | Set-OMEConfiguration -Identity "<OMEConfigurationName>" -OTPEnabled <$true|$false>
    **Examples:**To enable one-time passcodes for this custom template

    Set-OMEConfiguration -Identity "Branding Template 1" -OTPEnabled $true

    To disable one-time passcodes for this custom template

    Set-OMEConfiguration -Identity "Branding Template 1" -OTPEnabled $false | | To enable or disable authentication with Microsoft, Google, or Yahoosupported social identities for this custom template | Set-OMEConfiguration -Identity "<OMEConfigurationName>" -SocialIdSignIn <$true|$false>
    **Examples:**To enable social IDs for this custom template

    Set-OMEConfiguration -Identity "Branding Template 1" -SocialIdSignIn $true

    To disable social IDs for this custom template

    Set-OMEConfiguration -Identity "Branding Template 1" -SocialIdSignIn $false |

    Create an encrypted message branding template (Advanced Message Encryption)

    For more information, see [Remove-OMEConfiguration](/en-us/powershell/module/exchange/remove-omeconfiguration).
    

    CreateApply a branding template to encrypted messages

    A branding rule doesn't encrypt a message by itself. Before the branding action runs, the message must be encrypted manually in Outlook or Outlook on the web, or automatically by a DLP policy or Exchange mail flow rule.

    Choose the rule type that best matches how your organization identifies messages and how you want external recipients to open them.

    ConsiderationExchange mail flow ruleDLP policy rule
    Admin portalExchange admin centerMicrosoft Purview portal
    Rule scopeUses Exchange mail flow rule conditionsUses DLP conditions and must be scoped only to Exchange
    Sender requirementConfigure The sender is located as Inside the organizationConfigure Content is received from as People inside my organization
    EncryptionCan encrypt and apply branding in the same mail flow rule, or apply branding to a message encrypted earlierCan encrypt and apply branding in the same DLP rule, or apply branding to a message encrypted by another supported method
    Portal accessThe branding action doesn't provide a choice between enforced portal access and the native encrypted-message experienceThe rule can enforce portal access or allow the native experience in supported clients

    Use an Exchange mail flow rule that applies your custom branding to encrypted emails sent from your online organization to external recipients

    Important

    Select **add action** if you want to specify another action, or select **Save**, and then select **OK**.
    

    Use a DLP policy rule

    Before you begin, create and configure the branding template as described in Work with branding templates. The DLP policy must be scoped only to Exchange, and the rule must apply to messages from people inside your organization.

    1. Sign in to the Microsoft Purview portal.

    2. Go to Solutions > Data Loss Prevention > Policies.

    3. Select Enterprise applications & devices

    4. Create a custom DLP policy, or select an existing policy and edit it.

    5. On the page where you choose locations, select Exchange email and clear all other locations.

    6. Create or edit an advanced DLP rule.

    7. Under Conditions, add Content is received from, and select People inside my organization. Add any other conditions that identify the encrypted messages to brand.

    8. Make sure messages that match the rule are encrypted by adding a new condition, Message type is and selecting Encrypted.

      1. To encrypt them in the same DLP rule, under Actions, add Restrict access or encrypt the content in Microsoft 365 locations, and then select Encrypt email messages. This is unnecessary if another supported method encrypts the messages before the branding action runs.
    9. Under Actions, add Apply branding to encrypted messages.

    10. Under Select brand template, select the OME branding template to apply.

    11. Choose whether to select Make external recipients open message in the encrypted message portal:

      • Selected (the default for new rules): External recipients open the message in the encrypted message portal. External Outlook recipients don't use the native inline viewing experience.
      • Cleared: External Outlook recipients can use the native inline viewing experience. Recipients whose email service or client doesn't support inline viewing continue to use the encrypted message portal.

      Important

      When this setting is selected, Outlook.com and Hotmail recipients are directed to the encrypted message portal and can't use Microsoft consumer-account single sign-on. Clearing the setting preserves the native experience for supported Outlook.com and Hotmail recipients.

    12. Save the rule, finish creating or editing the policy, and choose the appropriate policy mode. For deployment guidance, see Create and deploy data loss prevention policies.

    Background color reference

    The color names that you can use for the background color are limited. Instead of a color name, you can use a hex code value (#RRGGBB). You can use a hex code value that corresponds to a color name, or you can use a custom hex code value. Be sure to enclose the hex code value in quotation marks (for example, "#f0f8ff").