How to enable RMS in Office365

Share this:

The process to enable RMS in Office 365 is simple and it can be done in just a few minutes.

Solution

The entire process is performed using PowerShell, the first step is to authenticate on the service. The first thing is to get the credentials in a variable, and we will do that using the followin cmdlet

$cred = Get-Credential

The second step is to add all parameter to connect on Office 365 on a variable, as follows:

$session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.com/PowerShell-liveid/ -Credential $cred -Authentication Basic -AllowRedirection

Last but not least we need to connect and we can do that using the following cmdlet.

Import-PSSession $session

After connecting to Office 365 through PowerShell, we will list the current IRM configuration and configure it, and at the end we will list again to check the changes. In order to configure RMS the following cmdlet is required:

Set-IRMConfiguration -RMSOnlineKeySharingLocation “https://sp-rms.na.aadrm.com/TenantManagement/

Time to check the changes that we have just configured.

Our next step is to import the RMS Trusted Published Domain and define the license.

Import-RMSTrustedPublishedDomain -RMSOnline -Name “RMS Online”

Set-IRMConfiguration -InternalLicenseEnabled $True

Checking the IRM configuration.

At this point we can test the IRM Configuration by running the following cmdlet.
Test-IRMConfiguration -Sender <mailbox>

Finally, the last step is to close the current session with Office 365 to complete the process.

Written by Anderson Patricio

Anderson Patricio

Anderson Patricio is a Canadian MVP in Cloud and Datacenter Management, and Office Server and Services, besides the Microsoft Award he also holds a Solutions Master (MCSM) in Exchange and several other certifications. Anderson has been contributing to the Microsoft Community with articles, tutorials, blog posts, twitter, forums and book reviews. He is a regular contributor here at ITPROCentral.com, MSExchange.org, Techgenix.com and Anderson Patricio.org (Portuguese).

Related Post

Removing a domain in Office 365 using PowerShell Removing a domain in Office365/EOP requires that all accounts that are associated to that domain to be transferred to a valid domain, and the administ...
Where is my Office 365 data? A common question that I receive from my customers is about where is my data in Office 365 and the second if I can have my users spread all over the p...
Free busy failure from on-premises to Office 365 m... After completing an Exchange Hybrid Configuration wizard on a customer, we noticed that the free-busy information wasn’t working when an on-premises u...
Adding an endpoint on Office 365 Exchange data mig... There is an easy assistant under Setup / Data migration when using Office 365 Admin Center. In this Tutorial, we are going over the process to configu...