Need help with New-ComplianceSearch

fieldj
fieldj used Ask the Experts™
on
Hi all,

I am currently trying to get the New-ComplianceSearch stuff in Exchange 2016 working, but I am having some problems.

First of all, i can confirm that I am a domain admin and am a member of the Discovery Management Exchange AD group.

When I run the command:

New-ComplianceSearch -Name "SearchTest" -ExchangeLocation All -ContentMatchQuery "Test"

Open in new window


I  get the following error:

compliancesearch1.PNG
Interestingly, if I just run the command 'New-ComplianceSearch' it looks like it begins the process, but it fails whenever I try to specify a name...

compliancesearch1.PNG
What am I doing wrong?

Thanks
compliancesearch2.PNG
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
timgreen7077Exchange Engineer
Distinguished Expert 2018

Commented:
Instead of parameter -ExchangeLocation being set to All, try to use your email address and see what the result would be from a single searched item instead of attempting to search all mailboxes and so forth, so something like this:

New-ComplianceSearch -Name "SearchTest" -ExchangeLocation "user@domain.com" -ContentMatchQuery "Test"
Exchange Engineer
Distinguished Expert 2018
Commented:
Also have you tried performing the same search in the Exchange Admin Center under compliance management > inPlace eDiscovery & Hold since you are doing the same thing but in the GUI.

Author

Commented:
I just tried the same thing in EAC (I didnt actually know this existed!) and although it let me create the job, it would just sit queuing.

This led me to the following document which says this might happen during coexistence (I still have an Exchange 2010 server in the environment) if the SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9} still exists on one of the 2010 DB's (which it does).

http://techgenix.com/ediscovery-during-coexistence/

I am just in the process of migrating that mailbox to 2016 so I am hoping that this will help me get closer to get this working.
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

timgreen7077Exchange Engineer
Distinguished Expert 2018

Commented:
yep that is true, the system mailbox needs to migrated to 2016 first.

Author

Commented:
I have been able to use EAC tool successfully after migrating the SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9} mailbox.

This has helped me to achieve what I need.  Thanks
timgreen7077Exchange Engineer
Distinguished Expert 2018

Commented:
good deal

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial