Commands › Exchange Online

Get-CalendarDiagnosticAnalysis

Exchange Online ExchangeOnlineManagement Get-*

Although Use the Get-CalendarDiagnosticAnalysis cmdlet to troubleshoot calendar-related reliability issues. You can use this cmdlet to analyze calendar item data that's recorded in the Calendar Diagnostic logs. You provide the calendar item data to this cmdlet by using the Get-CalendarDiagnosticLog cmdlet.

Quick start script

# Get-CalendarDiagnosticAnalysis — 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-CalendarDiagnosticAnalysis -CalendarLogs <CalendarLog[]> -LogLocation <String[]> | Format-List

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

Syntax — 2 parameter sets

DefaultSet

Get-CalendarDiagnosticAnalysis -CalendarLogs <CalendarLog[]>
 [-DetailLevel <AnalysisDetailLevel>]
 [-GlobalObjectId <String>]
 [-OutputAs <OutputType>]
 [<CommonParameters>]

LocationSet

Get-CalendarDiagnosticAnalysis -LogLocation <String[]>
 [-DetailLevel <AnalysisDetailLevel>]
 [-GlobalObjectId <String>]
 [-OutputAs <OutputType>]
 [<CommonParameters>]

Parameters (5)

ParameterTypeRequiredWhat it controls
-CalendarLogs CalendarLog[] yes The CalendarLogs parameter specifies the calendar item that you want to analyze. You identify the calendar item by storing the output of the Get-CalendarDiagnosticLog cmdlet to a variable and using that variable for...
-LogLocation String[] yes **Note**: This parameter was removed from Exchange 2016 and Exchange 2019 by the [2022 H1 Cumulative...
-DetailLevel AnalysisDetailLevel The DetailLevel parameter specifies the level of detail you want to see in the analysis output. Valid values are:
-GlobalObjectId String The GlobalObjectId parameter specifies the identity of the calendar item you want to analyze. In Exchange 2013, you can use this parameter with the LogLocation parameter to specify the calendar item if the location...
-OutputAs OutputType The OutputAs parameter specifies the output format of the command. Valid values are:

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