Connecting to the Windows Azure Rights Management Service
Published: July 16, 2012
Updated: February 1, 2014
Applies To: Office 365, Windows Azure Rights Management
This topic explains how to use the Windows Azure Rights Management module for Windows PowerShell to connect to the Rights Management service.
The following demonstrates how to connect to the Rights Management service:
By specifying the Connect-AadrmService cmdlet without parameters you will be prompted for the user account credentials to be used to perform this task.
To specify credentials, type a valid Office 365 administrator user name, such as "User@aadrmeval.onmicrosoft.com" or you can specify a PSCredential object. If you specify a user name for this parameter, the cmdlet prompts for a password.
You can also create a PSCredential object by using a script or by using the Get-Credential cmdlet. You can then set the Credential parameter to the PSCredential object.
The following example shows how to create credentials.
$AdminCredentials = Get-Credential "User@aadrmeval.onmicrosoft.com"
The following shows how to set the Credential parameter to these credentials.
Connect-AadrmService -Credential $AdminCredentials
If the acting credentials do not have the required administrative level of permissions to perform this task, Rights Management returns a terminating error.
|If you are not prompted for your credentials, and you see an error message such as Cannot use this feature without credentials, verify that Internet Explorer is configured to use Windows integrated authentication. If this setting is not enable, enable it, restart Internet Explorer, and then retry authentication to the Rights Management service.|