次の方法で共有


How To Update Azure Rights Management Template(s) using PowerShell

Step 1: Connect to Exchange Online using remote PowerShell - https://technet.microsoft.com/en-us/library/jj984289(v=exchg.150).aspx

Launch Windows PowerShell from a Windows 7, 8 or 8.1 with .NET Framework 4.5 or higher and Windows Framework 3.0 or higher

Run the following command: $UserCredential = Get-Credential

Type your Exchange Online user name and password, and then click OK

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

 Run the following command: Import-PSSession $Session

Step 2: Updates Templates for Exchange Online - https://technet.microsoft.com/en-us/library/dn642472.aspx

Using Windows PowerShell in Exchange Online from Step 1

Run the following command: Import-RMSTrustedPublishingDomain -Name "RMS Online - 1" -RefreshTemplates –RMSOnline

To confirm that the templates have imported successfully, wait a few minutes

Run the following command: Get-RMSTemplate

Note: I used the default TPD Name "RMS Online - 1". To verify your TPD name, you can run the following command Get-RMSTrustedPublishingDomain