Test-IRMConfiguration kończy się niepowodzeniem: nie można uzyskać licencji użytkowania

Oryginalny numer KB: 2805976

Symptomy

Podczas konfigurowania usługi Active Directory Rights Management (AD-RMS) z programem Microsoft Exchange Server 2010 r. może wystąpić następujący błąd podczas uruchamiania Test-IRMConfiguration w powłoce zarządzania programu Exchange (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.

Przyczyna

Ten problem może wystąpić, jeśli plik FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 został usunięty i ponownie utworzony. Po ponownym skonfigurowaniu grupy superużytkowujących usług AD-RMS powyższy błąd będzie nadal występować.

Rozwiązanie

Na serwerze Exchange wykonaj następujące kroki:

  1. Wyłącz usługę IRM.

    Set-IRMConfiguration -InternalLicensingEnabled $false
    
  2. Utwórz kopię zapasową i usuń katalogi w programie C:\ProgramData\Microsoft\DRM\Server.

    Uwaga

    Folder Server jest ukrytym folderem systemowym i należy usunąć zaznaczenie opcji Ukryj chronione pliki systemu operacyjnego , aby wyświetlić folder.

  3. Ponownie obuwać.

  4. Włącz usługę IRM.

    Set-IRMConfiguration -InternalLicensingEnabled $true
    
  5. Testowanie usługi IRM.

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

Więcej informacji

Program Exchange użyje starej usługi GIC z usuniętego konta FederatedEmail. Po usunięciu plików w folderze Serwer nowa usługa GIC będzie zawierać tylko lokalne konto systemowe serwerów programu Exchange.

Aby nowa usługa GIC działała prawidłowo, należy ponownie uruchomić serwer exchange z kontem FederatedEmail.