Cannot add eDiscovery Manager using PS.

Oleg Tserkovnyuk 586 Reputation points
2024-05-10T13:05:27.4633333+00:00

I am trying to add eDiscovery Manager using PS 7. I use an account with GA role.

My code:

Update-Module ExchangeOnlineManagement

Import-Module ExchangeOnlineManagement

$UPN = 'GlobalAdmin@company.com'

Connect-ExchangeOnline -UserPrincipalName $UPN

Add-RoleGroupMember -identity "eDiscovery Manager" -Member $UPN

Error:

Add-RoleGroupMember: Ex6F9304|Microsoft.Exchange.Configuration.Tasks.ManagementObjectNotFoundException|The operation couldn't be performed because object 'eDiscovery Manager' couldn't be found on 'IA0PR18A10DC001.NAMPR18A010.PROD.OUTLOOK.COM'.

Seems like this solution worked around a year ago (https://learn.microsoft.com/en-us/answers/questions/1253703/unable-to-add-user).

Did I miss something?

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,379 questions
{count} votes

Accepted answer
  1. Noah Ma-MSFT 2,340 Reputation points Microsoft Vendor
    2024-05-13T09:40:55.9+00:00

    Hi @Oleg Tserkovnyuk,

    Welcome to Microsoft Q&A!

    Based on the information you provided, we have tested the same command in several different tenants. It all returns the same result as you. We consider this could be a backend issue since we all have the sufficient permission but cannot perform this operation.

    A screen shot of a computer program

    However, you could add eDiscovery Manager via Compliance portal (https://compliance.microsoft.com/)

    A screenshot of a computer A screenshot of a computer

    Also, you could consider adding the user as eDiscovery Administrator instead of eDiscovery management with Add-eDiscoveryCaseAdmin command as below.

    User's image

    The primary difference between an eDiscovery Manager and an eDiscovery Administrator is that an eDiscovery Administrator can access all cases that are listed on the eDiscovery cases page in the compliance portal. An eDiscovery manager can only access the cases they created or cases they're a member of. You can decide based on your specific situation.

    If there anything else I can help, please let me know.


0 additional answers

Sort by: Most helpful