Commands › Exchange Online

Get-CalendarDiagnosticObjects

Exchange Online ExchangeOnlineManagement Get-*

Collect a range of calendar logs. The calendar diagnostic logs track important calendar-related event data for each mailbox, and can be used to troubleshoot calendar issues that occur in mailboxes. The logs track all calendar items and meeting messages.

Quick start script

# Get-CalendarDiagnosticObjects — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org

# 2. Run and inspect
Get-CalendarDiagnosticObjects -Identity <UnifiedGroupOrUserMailboxIdParameter> | Format-List

# 3. Export for evidence / drift tracking
Get-CalendarDiagnosticObjects | Export-Clixml .\CalendarDiagnosticObjects-$(Get-Date -Format yyyyMMdd).xml

Syntax

Get-CalendarDiagnosticObjects [-Identity] <UnifiedGroupOrUserMailboxIdParameter>
 [-AnalyzeExceptionWithOriginalStartDate <ExDateTime>]
 [-AutoRequeryOnMeetingId <Boolean>]
 [-ConfigurationName <String>]
 [-CustomPropertyNames <String[]>]
 [-EndDate <ExDateTime>]
 [-EntryId <String>]
 [-EwsId <String>]
 [-ExactMatch <Boolean>]
 [-ItemClass <String[]>]
 [-ItemIds <String[]>]
 [-MaxResults <Int32>]
 [-MeetingId <String>]
 [-ODataId <String>]
 [-ResultSize <Unlimited>]
 [-ShouldBindToItem <Boolean>]
 [-ShouldDecodeEnums <Boolean>]
 [-ShouldFetchAttendeeCollection <Boolean>]
 [-ShouldFetchRecurrenceExceptions <Boolean>]
 [-ShouldResolveParticipants <Boolean>]
 [-StartDate <ExDateTime>]
 [-Subject <String>]
 [<CommonParameters>]

Parameters (22)

ParameterTypeRequiredWhat it controls
-Identity UnifiedGroupOrUserMailboxIdParameter yes The Identity parameter specifies the mailbox or Microsoft 365 Group whose calendar you want to view. You can use any value that uniquely identifies the mailbox or Microsoft 365 Group. For example:
-AnalyzeExceptionWithOriginalStartDate ExDateTime {{ Fill AnalyzeExceptionWithOriginalStartDate Description }}
-AutoRequeryOnMeetingId Boolean {{ Fill AutoRequeryOnMeetingId Description }}
-ConfigurationName String {{ Fill ConfigurationName Description }}
-CustomPropertyNames String[] The CustomPropertyNames parameter returns the specified calendar item custom property in the results. For valid values, see [Values for the CustomPropertyNames parameter in Exchange Online...
-EndDate ExDateTime The EndDate parameter specifies the end date of the date range for the OriginalLastModifiedTime property (when the meeting was last modified, not created).
-EntryId String The EntryID parameter filters the results by the specified EntryID property value, which corresponds to the MAPI property PR\_ENTRYID.
-EwsId String {{ Fill EwsId Description }}
-ExactMatch Boolean The ExactMatch parameter specifies whether to use an exact match or a partial match for text values that you specify for the Subject parameter. Valid values are:
-ItemClass String[] The ItemClass parameter filters the results by the specified MessageClass property value of the calendar item (for example, IPM.Appointment). You can specify multiple values separated by commas.
-ItemIds String[] The ItemIds parameter filters the results by item ID. You can specify multiple values separated by commas.
-MaxResults Int32 {{ Fill MaxResults Description }}
-MeetingId String The MeetingId parameter filters the results by the globally unique identifier of the calendar item. The value is the CleanGlobalObjectId property of the calendar item that's available in the output of this cmdlet, or...
-ODataId String {{ Fill ODataId Description }}
-ResultSize Unlimited This parameter determines the number of results returned by the cmdlet. The maximum value is 1000.
-ShouldBindToItem Boolean The ShouldBindToItem parameter specifies whether to truncate large streamable property values (for example, AppointmentRecurrenceBlob). Valid values are:
-ShouldDecodeEnums Boolean {{ Fill ShouldDecodeEnums Description }}
-ShouldFetchAttendeeCollection Boolean {{ Fill ShouldFetchAttendeeCollection Description }}
-ShouldFetchRecurrenceExceptions Boolean The ShouldFetchRecurrenceExceptions parameter specifies whether to include exceptions to recurring meetings. Valid values are:
-ShouldResolveParticipants Boolean {{ Fill ShouldResolveParticipants Description }}
-StartDate ExDateTime The StartDate parameter specifies the start date of the date range for the OriginalLastModifiedTime property (when the meeting was last modified, not created).
-Subject String The Subject parameter identifies the calendar items by the specified text in the Subject field. The text values that you specify aren't case sensitive. If the value contains spaces, enclose the value in quotation...

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.