Forum Discussion

m_c_7's avatar
m_c_7
Copper Contributor
Nov 18, 2024

Unable to assign the "ediscovery manager" role using powershell

I am trying to assign the "ediscovery manager" role to a user who has M365 E5 license using powershell. If I connect to IPPSSession and run the "Add-RolegroupMember" command I get following error:-
"Write-ErrorMessage : Ex6F9304|Microsoft.Exchange.Configuration.Tasks.ManagementObjectNotFoundException|The operation couldn't be performed because object 'eDiscovery Manager' couldn't be found on 'FfoRecipientSession'

And then if I connect to exchange online and run the "Add-RolegroupMember" command I get following error:-
"Write-ErrorMessage : Ex6F9304|Microsoft.Exchange.Configuration.Tasks.ManagementObjectNotFoundException|The operation couldn't be performed because object 'eDiscovery Manager' couldn't be found on 'KL1PR04A08DD007.APCPR04A008.PROD.OUTLOOK.COM'"

Ultimately I want to be able to assign a group to this role, but at this stage I can't even assign a user to this role.
Assigning to this role in GUI succeeds without problem.

2 Replies

  • What's the exact cmdlet you are running? This works just fine: 

    Add-RoleGroupMember eDiscoveryManager -Member email address removed for privacy reasons

     

    • trigus32's avatar
      trigus32
      Copper Contributor

      I'm running into this same issue and I get;

      The operation couldn't be performed because object 'eDiscoveryManager' couldn't be found on 'CH2PEPF00000202.NAMPR01A006.PROD.OUTLOOK.COM'

Resources