Get Calendar logs from user mailbox to troubleshoot meeting issues.
As all activities related to calendar Items are logged and can be extracted to review so one of the easiest ways to troubleshooting the missing calendar items on a user Mailbox is to review the meetings logs. To extract the meeting logs we need the Meeting subject and the user email address, once we have extracted the logs we can review the calendar logs chronology and distinguish what has happened with the meeting on user calendar. This post will further discuss how to extract the Calendar Items Logs easily.
This post will focus on how to extract the Calendar Logging Logs, Calendar logging is by default turned has Quota of 6 GB.
All activities related to calendar Items are logged and can be extracted to review.
if you try to run this cmd you will encounter the following error.
"Cannot process argument transformation on parameter 'CalendarLogs'. Cannot convert value "System.Collections.ArrayList" to type "Microsoft.Exchange.Management.StoreTasks"
To get the calendar logs just run the following cmd.
Get-CalendarDiagnosticObjects -Identity firstname.lastname@example.org -Subject "test meeting"
Get-CalendarDiagnosticAnalysis -CalendarLogs $logs -DetailLevel Advanced > $subject + ".csv
The problem with the data is that it's in the string format so you would require to do some post-processing on it, I found it easy to easy to import the data to CSV and then re-export.
to make it easier for myself I made this small script, which can be used as one cmd.
Post a Comment