how do I cancel a in-progress message trace?

New Contributor

I have a message trace that's in-progress. I entered the wrong dates and its taking a while for it to run. Can anyone please tell me how I can cancel it? 

 

thank you 

3 Replies
Try the Stop-HistoricalSearch cmdlet.

@Vasil Michev I am very knew with exchance. Can you please tell me what Stop-HistoricalSearch cmdlet. is? is this a command I run from the exchance server itself or can I do it from the EAC?

thank you 

It's a PowerShell cmdlet, there's no UI equivalent afaik. Here's how to connect to Exchange Online PowerShell: https://docs.microsoft.com/en-us/powershell/exchange/connect-to-exchange-online-powershell?view=exch...