Skip to content Skip to sidebar Skip to footer

Office 365 Powershell to Check if Message Read

Shiva asks whether there is a way to make up one's mind if the recipients of an email have read the email message or not.

Bulletin tracking searches already gives u.s. the ability to determine whether an email bulletin was delivered, merely not whether the detail has been read all the same. To find that out, we need to look at delivery reports.

Delivery reports are available in Commutation organizations, only read tracking is not enabled by default. You can check whether read tracking is enabled in your arrangement with the Get-OrganizationConfig cmdlet.


If read tracking isn't already enabled, and so you won't be able to track the read status of letters that accept already been sent. If y'all'd like to be able to track the messages in future, turn it on now.


There is also a per-mailbox setting. Past default, read tracking is enabled for mailboxes, then in one case you take turned it on for the organization it will work for all of your mailboxes. Only, some mailboxes might be sensitive and need to be excluded from these types of searches. In that instance, yous tin use Set-Mailbox to disable read condition tracking for those mailboxes.


Now let's look at an example of reporting on the read condition of an email. To kickoff with, it helps to know the message ID. 1 of the ways you tin retrieve this is with a message tracking log search. Consider a scenario in which the user Mike Nash has sent a company newsletter to all staff within the terminal 48 hours. Nosotros can search message tracking logs for that message, and return the message ID.


Next, we tin can perform a message tracking report search for Mike's mailbox using Search-MessageTrackingReport. For convenience, capture the results into a variable.


As you tin see, past searching for the message ID, we get ane issue, rather than needing to filter through multiple results. Merely we're not there all the same, so far the information that has been retrieved doesn't provide the answer we want.


Next, retrieve a delivery report by running Get-MessageTrackingReport for that message tracking report ID that has been returned in the search results. Again, capture the results in a variable for ease of handling.


Now take a await at the report.


The recipient tracking events are what we can use to determine who has opened the email bulletin. Here's one of the results from that list.


Then from a reporting perspective, the RecipientDisplayName and Status fields are of most interest.


Now, I know the results to a higher place are not correct, because I have read the message using OWA while logged on with at least one of those accounts. And in fact, nosotros can cheque the read status for a single recipient, by appending the -RecipientFilterPath and -ReportTemplate parameters.


The recipient tracking events in that output evidence that Jim has read the message.

Now what about checking for all of the recipients? Well we can exercise that besides, by looping through the results with a bit of PowerShell. In my case, the variable $study already exists from when I ran Become-MessageTrackingReport earlier, so I can now run:


The output of those commands looks similar this:


Success! Sort of… fifty-fifty though I accept the issue, information technology'southward not all that convenient. So allow's wrap it all up into a short script, called Get-MessageReadStatusReport.ps1 (GitHub). Hither's how it looks:

exchange-message-tracking-delivery-report-read-status

So there you are, tracking the read status of messages in your organization. This assumes that you've turned on read status tracking for the arrangement, and that information technology isn't disabled for 1 or more than of the mailboxes you're interested. There's a few other caveats besides:

  • Opening a message and actioning a bulletin are two different things. Someone might open your bulletin, but information technology doesn't mean they've done what you desire them to practise (e.chiliad. replied, clicked a link, filled out a course, etc)
  • Outlook and OWA mark messages read when they are selected. And then read status doesn't always mean a human has looked at the message.
  • An unread message sitting in the inbox, and an unread message that has been deleted, will exist duplicate from each other when you expect at commitment reports

Office 365 Powershell to Check if Message Read

Source: https://practical365.com/tracking-read-email-messages-exchange-server/

Postar um comentário for "Office 365 Powershell to Check if Message Read"