Test-IRMConfiguration fails: Failed to acquire a use license

Original KB number:   2805976


When configuring Active Directory Rights Management Service (AD-RMS) with Microsoft Exchange Server 2010, you may receive the following failure when you run Test-IRMConfiguration in the Exchange Management Shell (EMS).

Results : Checking Exchange Server ...
 - PASS: Exchange Server is running in Enterprise.
 Loading IRM configuration ...
 - PASS: IRM configuration loaded successfully.
 Retrieving RMS Certification Uri ...
 - PASS: RMS Certification Uri: https://rms.Domain.com/_wmcs/certification.
 Verifying RMS version for https://rms.Domain.com/_wmcs/certification ...
 - PASS: RMS Version verified successfully.
 Retrieving RMS Publishing Uri ...
 - PASS: RMS Publishing Uri: https://rms.Domain.com/_wmcs/licensing.
 Acquiring Rights Account Certificate (RAC) and Client Licensor Certificate (CLC)...
 - PASS: RAC and CLC acquired.
 Acquiring RMS Templates ...
 - PASS: RMS Templates acquired.
 Retrieving RMS Licensing Uri ...
 - PASS: RMS Licensing Uri: https://rms.Domain.com/_wmcs/licensing.
 Verifying RMS version for https://rms.Domain.com/_wmcs/licensing ...
 - PASS: RMS Version verified successfully.
 Creating Publishing License ...
 - PASS: Publishing License created.
 Acquiring Prelicense for 'User@Domain.com' from RMS Licensing Uri (https://rmc.Domain.com/_wmcs/licensing)...
 - PASS: Prelicense acquired.
 Acquiring Use License from RMS Licensing Uri (https://rms.Domain.com/_wmcs/licensing)...
 - FAIL: Failed to acquire a use license. This failure may cause features such as Transport Decryption, Jo
 urnal Report Decryption, IRM in OWA, IRM in EAS and IRM Search to not work. Please make sure that the account
 "FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042" representing the Exchange Servers Group is granted sup
 er user privileges on the Active Directory Rights Management Services server. For detailed instructions, see
 "Add the Federated Delivery Mailbox to the AD RMS Super Users Group" at https://go.microsoft.com/fwlink/?linkid=193400.


This problem can occur if the FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 had been deleted and recreated. After reconfiguring the AD-RMS Super Users Group, the above error will still occur.


On Exchange server, follow these steps:

  1. Turn off IRM.

    Set-IRMConfiguration -InternalLicensingEnabled $false
  2. Backup and delete the directories in C:\ProgramData\Microsoft\DRM\Server.


    The Server folder is a hidden system folder and you will need to unselect the Hide protected operating system files to view the folder.

  3. Reboot.

  4. Enable IRM.

    Set-IRMConfiguration -InternalLicensingEnabled $true
  5. Test IRM.

    Test-IRMConfiguration -sender [user@domain.com]

More information

Exchange will use the old GIC from the deleted FederatedEmail account. After you remove the files under the Server folder, the new GIC will only contain the Exchange servers local system account.

The Exchange server must be rebooted for the new GIC to with the FederatedEmail account to work correctly.