Created: 8-25-21

Updated: 8-25-21

Work-in-progress…..

#1
# Hit A for “Yes to All”
Set-ExecutionPolicy RemoteSigned

#2
#
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection

#3
Import-PSSession $Session -DisableNameChecking

#4
Set-IRMConfiguration -RMSOnlineKeySharingLocation “https://sp-rms.na.aadrm.com/TenantManagement/ServicePartner.svc”

#5
Import-RMSTrustedPublishingDomain -RMSOnline -name “RMS Online”

#6
Test-IRMConfiguration -RMSOnline

#7
Set-IRMConfiguration -InternalLicensingEnabled $true