Hello Team,
How to do message trace with Exchange Online Powershell command, Please explain with step by step screenshots and kb article.
Get-MessageTrace -FromIP 192.168.0.5 | OutGridView
Thank you in advance :)
Hello Team,
How to do message trace with Exchange Online Powershell command, Please explain with step by step screenshots and kb article.
Get-MessageTrace -FromIP 192.168.0.5 | OutGridView
Thank you in advance :)
@GurudasSatardekar
I am writing here to confirm with you any update about this thread now.
If the suggestion below helps, please feel free to accept it as an answer to help more people.
Hi @GurudasSatardekar
Thank you for asking this question on the Microsoft Q&A Platform.
You can find all the information about the commands Get-MessageTrace and Out-GridView
But a sequence of commands from PowerShell could be:
Install-Module -Name ExchangeOnlineManagement
Import-Module ExchangeOnlineManagement
Connect-ExchangeOnline
Get-MessageTrace -FromIP "The public ip" | Out-GridView
It will open a new window like this
Hope this helps,
Carlos Solís Salazar
Accept Answer and Upvote, if any of the above helped, this thread can help others in the community looking for remediation for similar issues.
NOTE: To answer you as quickly as possible, please mention me in your reply.
@GurudasSatardekar , you can Accept Answer and Upvote, if the above response helped answer your query, others visiting the forum with the same query might get help.
NOTE: To answer you as quickly as possible, please mention me in your reply.
@GurudasSatardekar
You need connect to Exchange with PowerShell first (You could choose one of the following two ways to connect):
Then you will could run Get-MessageTrace command in PowerShell.
You could use the command below to check the "MessageTraceId" for emails:
Get-MessageTrace -FromIP 192.168.0.5 | fl MessageTraceId,RecipientAddress,Subject
Then you could use the Get-MessageTraceDetail command to check detailed information:
Get-MessageTraceDetail -MessageTraceId "xxxxx" -RecipientAddress "user@domain.onmicrosoft.com"
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
12 people are following this question.