Turn on the external email tagging feature at Exchange online

  1. Load the exchange online module on PowerShell.
    Click here to know more
  2. Turn on external tagging.
    The following command will enable external tagging for the whole organization.
    Set-ExternalInOutlook -Enabled $true

You could also omit senders and domains from the external tagging feature.

For example, to omit admin@contosso.com, I would enter the following:

Set-ExternalInOutlook -AllowList admin@contosso.com

To omit the whole domain

Set-ExternalInOutlook -AllowList “microsoft.com”, “apple.com” – Enabled $True

    Exchange Online PowerShell – How to install

    Microsoft Exchange Online PowerShell module (This product is abbreviated as the EXO V3 module) enables exchange admins to connect to their Exchange Online environment in Microsoft 365 from their PC/laptop to retrieve data, create new objects, update existing objects, remove objects as well as configure Exchange Online and its features.

    Installing

    For version informations click here

    Install Exchange Online PowerShell V3 module

    To install Exchange Online PowerShell V3 module on your system, go through the below steps.

    1. Install PowerShell Execution Policy

    Microsoft PowerShell scripts that you download from the internet are signed by a trusted publisher.

    To run PowerShell rightclick and run as administrator, and run the cmdlet.

    Set-ExecutionPolicy RemoteSigned
    

    2. Install PowerShell Get module

    Run the command Install-Module PowershellGet -Force. This will asked to install NuGet provider, press Y and Enter.

    Install-Module PowershellGet -Force
    

    3. Exchange Online Management module – INSTALLATION

    Install Exchange Online Management module.

    Install-Module -Name ExchangeOnlineManagement -Force
    

    4. Exchange Online -CONNECT AS ADMINISTRATOR

    . Run the Connect-ExchangeOnline cmdlet.

    Connect-ExchangeOnline -UserPrincipalName <UPN> [-ExchangeEnvironmentName <Value>] [-ShowBanner:$false] [-DelegatedOrganization <String>] [-SkipLoadingFormatData]
    

    Example as below

    Connect-ExchangeOnline -UserPrincipalName admin@contoso.com
    

    In the sign-in window that opens, enter your password, and then click Sign in. If your account has MFA enabled, a verification code is generated and this will be delivered in the popup window based on the verification response for your account.After your verification succeeds, your PowerShell will return to command prompt as below

    PS C:\>
    

    Now your PC/Laptop is connected to your organizaiton Exchange Online PowerShell and ready to type in the new cmdlets. For more information about the cmdlets click here