Share via

'Set-IRMConfiguration' is not recognized as the name of a cmdlet ...

Anonymous
2016-01-20T10:26:11+00:00

Hello,

I am trying to finish setting up rights management.

My account is a member of Compliance and Organization Management.

Set-IRMConfiguration -RMSOnlineKeySharingLocation “sp-rms.na.aadrm.com/.../ServicePartner.svc”

I get the following error.

Set-IRMConfiguration : The term 'Set-IRMConfiguration' is not recognized as the name of a cmdlet, function, script

file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct

and try again.

At line:1 char:1

  • Set-IRMConfiguration -RMSOnlineKeySharingLocation “https://sp-rms.na. ...
  • 
    
  • CategoryInfo : ObjectNotFound: (Set-IRMConfiguration:String) [], CommandNotFoundException
  • FullyQualifiedErrorId : CommandNotFoundException

I can run Get-IRMConfiguration

InternalLicensingEnabled : False

ExternalLicensingEnabled : True

JournalReportDecryptionEnabled : True

ClientAccessServerEnabled : True

SearchEnabled : True

TransportDecryptionSetting : Optional

EDiscoverySuperUserEnabled : True

RMSOnlineKeySharingLocation :

RMSOnlineVersion :

ServiceLocation :

PublishingLocation :

LicensingLocation : {}

Thoughts?

Microsoft 365 and Office | Subscription, account, billing | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

23 answers

Sort by: Most helpful
  1. Anonymous
    2016-01-22T05:04:15+00:00

    Hi Brent,

    No, there is no need to load another module. I did a test on my side with no issue. I suggest you change another administrator account and try again. Please don’t forget to add this user to Compliance Management and Organization Management admin role group.

    1.$UserCredential = Get-Credential

    2.$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri outlook.office365.com/.../ -Credential $UserCredential -Authentication Basic –AllowRedirection

    3.Import-PSSession $Session

    4.Set-IRMConfiguration -JournalReportDecryptionEnabled $true

    Please let me know the result at your convenience.

    Best Regards,

    Toby

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2016-02-05T13:08:47+00:00

    I tried using another global admin account and also was not able to even find the set-irmconfiguration command.

    I confirmed that rights management is activated in the Office 365 admin center and that my account has the necessary permissions.

    I must be missing something, I just don't know what it is.

    0 comments No comments
  3. Anonymous
    2016-01-24T04:00:10+00:00

    Hi Brent,

    Please feel free to let me know if you have any further concern.

    Regards,

    Alan

    0 comments No comments
  4. Anonymous
    2016-01-21T07:55:14+00:00

    alan,

    thanks for the feedback. as i mentioned, my account is already a member of compliance management and organization management.

    when i am logged into powershell i can't even type 'set-irm' and hit tab to auto complete the command. it isn't recognized. is there a module i need to load to use set-irm?

    ![](http://fud.community.services.support.microsoft.com/Fud/FileDownloadHandler.ashx?fid=13a1af6f-7ef6-4d5a-b020-ff2465d63cfb)

    ![](http://fud.community.services.support.microsoft.com/Fud/FileDownloadHandler.ashx?fid=69843d72-f212-4507-851b-0b02f4e63fb4)

    0 comments No comments
  5. Anonymous
    2016-01-21T03:57:22+00:00

    Hi Brent,

    I know you can run the cmdlet of “Get-IRMConfiguration”. However, as far as I know, some permissions are required before running the “Set-IRMConfiguration” cmdlet. What specific permissions the user needs depends on the cmdlet the user runs. For more information, you can refer to Set-IRMConfiguration.

    If the issue persists, please confirm the following information for further troubleshooting:

    1. What is the detailed cmdlet you are running?

    2. Does the issue persist to any other admin of your organization?

    Also, it would be better if you could upload a screenshot about the error of your PowerShell output for analysis. To upload a screenshot: Click “Use rich formatting”> “Insert Media”.

    Regards,

    Alan

    0 comments No comments