Home > Office365 > Configure Office 365 Exchange Online Preview to use Windows Azure AD Rights Management.

Configure Office 365 Exchange Online Preview to use Windows Azure AD Rights Management.


Windows Azure AD Rights Management provides the ability to enable the use of digital rights management technology in organizations that subscribe to Microsoft online services

Windows Azure AD Rights Management information rights management (IRM) features are available in Microsoft Office 365 Enterprise E3 Preview and Microsoft Office 365 ProPlus Preview….

I have step down the installation process with screenshots and additionally I have attached error previews as well for your further understanding. Smile



Follow below steps to setup the Office 365 Exchange Online Preview to use Windows Azure AD Rights Management.


Step 01 : Download Required Applications, Install and run require PS commands 

Download the Windows Azure AD Rights Management administration module (WindowsAzureADRightsManagementAdministration.exe) for Windows PowerShell from below link and double-click WindowsAzureADRightsManagementAdministration.exe to launch installation of the Rights Management administration module by following below screenshots.











Open the %WINDIR%\System32\WindowsPowerShell\v1.0 folder and ensure that your Powershell.exe.config file contains the following XML data:




Open windows PowerShell prompt and type the followings commands to import the module and connect to your Rights Management installation

Type the following commands:

Import-Module AADRM

Connect-AadrmService -Verbose

Enter your Office 365 Preview credentials when prompted,







Type the following command to enable the Rights Management service for use with your user account,

Enable-Aadrm and Disconnect-AadrmService




Once you have completed the required tasks enabling Windows Azure AD Rights Management requires only a few additional configuration steps to enable it for use.


Step 02 : Enabling IRM services with Exchange Online


To enable Information Rights Management with Exchange online you have to carry out some additional tasks with Microsoft Office 365 Enterprise E3 Preview deployment as below,

Connect to your Exchange Online account using Windows PowerShell. Login with below command.

$LiveCred = Get-Credential



Start configuration of Exchange Online:

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUrihttps://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic –AllowRedirection.




Import-PSSession $Session




While running any of the commands in your windows Powershell for Office 365 if you encounter this error: ~~cannot be loaded because the execution of scripts is disabled on this system~~



You can run below PS commands to sort out the issue. Smile

Get-ExecutionPolicy and Set-Executionpolicy Unrestricted










Since I’m located in Asia, I ran the following command to set the key sharing URL:

Set-IRMConfiguration –RMSOnlineKeySharingLocation





Import-RMSTrustedPublishingDomain -RMSOnline -name “RMS Online”




Set-IRMConfiguration -InternalLicensingEnabled $true




You can test the configuration by running the following commands:

Test-IRMConfiguration -RMSOnline


Test-IRMConfiguration -sender user@company.onmicrosoft.com

Test-IRMConfiguration –sender dilshan@pcloud.onmicrosoft.com





Categories: Office365
  1. November 2, 2012 at 5:00 pm

    Hello there, You’ve done a great job. I’ll definitely digg it and personally
    suggest to my friends. I’m confident they will be benefited from this website.


  2. November 2, 2012 at 5:04 pm

    Tks Lisa..

  3. November 5, 2012 at 10:22 pm

    I was recommended this blog by my cousin. I am not sure
    whether this post is written by him as no one else know such detailed about my trouble.
    You are amazing! Thanks!

  4. April 21, 2013 at 9:33 am

    Set-Executionpolicy : O acesso à chave do Registro
    ‘HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell’ foi negado.
    No linha:1 caractere:1
    + Set-Executionpolicy Unrestricted
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [Set-ExecutionPolicy], UnauthorizedAccessException
    + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.SetExecutionPolicyComma

  5. June 19, 2013 at 7:23 pm

    I don’t even know how I finished up right here, however I thought this submit used to be great. I don’t recognise who you
    are however certainly you’re going to a well-known blogger in case you are not already. Cheers!

  6. June 19, 2013 at 9:49 pm

    Appreciate your comments 🙂

  7. August 1, 2014 at 8:40 pm

    It’s difficult to find experienced people in this particular topic,
    but you seem like you know what you’re talking about!

  8. Nimesha Jayasooriya
    September 11, 2014 at 8:33 am

    Nice !! 😀 Thanks bro !! 😀

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: