This cmdlet is deprecated. The Trusted Publishing Domain (TPD) for your organization is managed in Microsoft Azure Rights Management

When running the below command to Import RMS Trusted Publishing Domain,

Import-RMSTrustedPublishingDomain -FileData $([byte[]](Get-Content -Encoding byte -Path “C:\AIP_Migration.xml” -ReadCount 0)) -Name “Windowstechpro TPD” -ExtranetLicensingUrl https://adrms.domain.com/_wmcs/licensing -IntranetLicensingUrl https://adrms.domain.com/_wmcs/licensing

Getting the below Error,

This cmdlet is deprecated.  The Trusted Publishing Domain (TPD) for your organization is managed in Microsoft Azure

Rights Management.  For more information, see http://go.microsoft.com/fwlink/p/?LinkId=789272.

    + CategoryInfo          : InvalidOperation: (:) [Import-RMSTrustedPublishingDomain], LocalizedException

    + FullyQualifiedErrorId : [Server=DB6P191MB0119,RequestId=5e0f870b-ebbf-41d2-9201-b181c0768ba4,TimeStamp=26-06-201

   9 12:37:03] [FailureCategory=Cmdlet-LocalizedException] 6E26149F,Microsoft.Exchange.Management.RightsManagement.Im

  portRmsTrustedPublishingDomain

    + PSComputerName        : outlook.office365.com

Solution:

If run the below commands before you setting the Publishing the Domains

Set-IRMConfiguration -InternalLicensingEnabled $false

Set-IRMConfiguration -AzureRMSLicensingEnabled $false

Once both commands successfully executed, Set the Publishing domain once again and post publishing domain enabled. Enable InternalLicensing and AzureRMSLicensing once again using the below commands,

Set-IRMConfiguration -InternalLicensingEnabled $True

Set-IRMConfiguration -AzureRMSLicensingEnabled $True

One thought on “This cmdlet is deprecated. The Trusted Publishing Domain (TPD) for your organization is managed in Microsoft Azure Rights Management”

  1. Mar 12 2022 20:26.hk w10pro.GLF7(7)–r.m

    There is a personal domain registered many years . Recently it facing signing in host or/ username failing over a month found it ? Where organization can manage this over the company please?

    Microsoft case find the UNKNOW Profile explained by as , by external host created?
    SINCE ISP not opening port for joining domain, so it is under Domain publisher only

    Regards
    juliejj77@hotmail.com
    BleuOisou

Leave a Reply

Your email address will not be published. Required fields are marked *