Install Windows PowerShell for Rights Management
Published: July 16, 2012
Updated: July 16, 2012
Applies To: Office 365
Windows Azure AD Rights Management can be administered via Windows PowerShell on all systems that meet the following requirements:
Windows Vista, Windows 7, Windows Server 2008 R2
Note For Windows Server 2008 R2, only the x64 platform is supported in native mode. WOW64, which is provides 32-bit emulation on 64-bit platforms is not supported.
Windows PowerShell 2.0
Microsoft Online Services Sign-In Assistant 7.0
|The Microsoft Online Services Sign-In Assistant must be installed in order to authenticate against Rights Management. For more information, see Download Center: Microsoft Online Services Assistant for IT Professionals RTW.|
To get started enabling Rights Management for use with your tenant account you will need to complete a few configuration changes first.
|The following procedure steps require the Microsoft .NET Framework 4.0 to be installed first. For more information, see http://www.microsoft.com/net/.|
Download the Windows Azure AD Rights Management administration module for Windows PowerShell from the Download Center.
From the local folder where you downloaded and saved the Rights Management installer file, double-click WindowsAzureADRightsManagementAdministration.exe to launch installation of the Rights Management administration module.
Open the %WINDIR%\System32\WindowsPowerShell\v1.0 folder and ensure that your Powershell.exe.config file contains the following XML data:
<?xml version="1.0"?> <configuration> <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0.30319"/> <supportedRuntime version="v2.0.50727"/> </startup> </configuration>
Open an elevated Windows PowerShell prompt and type the followings commands to import the module and connect to your Rights Management installation:
Import-Module AADRM Connect-AadrmService -Verbose
You will be prompted for credentials.
Enter credentials for an Office 365 user with Global Administrator privilege in your organization and wait to be authenticated.
Note By default, Global Administrators have access to administer Rights Management.
In the elevated Windows PowerShell prompt window, type the following command to enable the Rights Management service for use with your tenant account.
Important By default, the Rights Management service is disabled when provisioned to a new tenant account. Rights Management features are not available to tenant users until the service is enabled in this step.
After completing these steps, your tenant should be enabled.