Enable OMEv2 (AIP) using PowerShell Script

November 3, 2018 | by iaur | posted as Exchange Online, Protection

Did you know that you can configure Office Message Encryption(via Azure Information Protection) easily like a Sunday morning? 😊

 Here’s a run through.

Scenarios you’re possibly in:

  • You want to encrypt messages from O365
  • You want to enable Protect button in OWA
  • You want to use IRM templates for emails
  • Unable to open encrypted messages in EXO

Assumptions

First time connecting to Office 365 PowerShell? Perform the ff. first.

  • Open PowerShell and execute the ff. cmdlets.
    • Install-Module MSOnline
    • Install-Module -Name AADRM
    • Update-Module -Name AADRM

How to use the PowerShell script?

Example: Enabling OME V2

  • Run with PowerShell the ps1 file.
  • Press Enter to load the main menu and accept the disclaimer.
  • Enter 1 and follow the prompts to connect to the needed online services using PowerShell
  • Go back to the main menu and enter 2 to automatically configure OMEv2
  • Check OWA if you have the Protect button

Miscellaneous:

  • You can use the tool for the ff.
    • View the current configuration
    • enable/disable OME versions
    • view and export templates/labels details
    • check known issues
    • export and check logs
    • open or refresh cache IRM folder or registry
  • Protect button (IRM templates) will take time to appear on your Outlook Office 365 ProPlus
  • Encrypt Button is available Outlook Office 365 Business (Monthly Channel)

References: