Test-IRMConfiguration misslyckas: Det gick inte att skaffa en användningslicens

Ursprungligt KB-nummer:   2805976

Symptom

När du konfigurerar AD-RMS (Active Directory Rights Management Service) med Microsoft Exchange Server 2010 kan du få följande felmeddelande när du kör Test-IRMConfiguration i 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.

Orsak

Det här problemet kan uppstå om FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 har tagits bort och återskapats. När du har konfigurerat om ad-RMS-gruppen för superanvändare uppstår felet ovan fortfarande.

Lösning

Gör så här på Exchange-servern:

  1. Inaktivera IRM.

    Set-IRMConfiguration -InternalLicensingEnabled $false
    
  2. Säkerhetskopiera och ta bort kataloger i C:\ProgramData\Microsoft\DRM\Server .

    Anteckning

    Servermappen är en dold systemmapp och du måste avmarkera Dölj skyddade operativsystemsfiler för att visa mappen.

  3. Starta om.

  4. Aktivera IRM.

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

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

Mer information

Exchange använder det gamla GIC-kontot från det borttagna FederatedEmail-kontot. När du har tagit bort filerna under servermappen innehåller det nya GIC-kontot endast det lokala systemkontot för Exchange-servrar.

Exchange-servern måste startas om för att det nya GIC-kontot med FederatedEmail ska fungera korrekt.