Commands › SharePoint Online

Get-SPOAppErrors

SharePoint Online Microsoft.Online.SharePoint.PowerShell Get-*

Returns application errors.

Quick start script

# Get-SPOAppErrors — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-SPOService -Url https://$org-admin.sharepoint.com

# 2. Run and inspect
Get-SPOAppErrors -ProductId <Guid> | Format-List

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

Syntax

Get-SPOAppErrors -ProductId <Guid> [-StartTimeInUtc <DateTime>] [-EndTimeInUtc <DateTime>] [<CommonParameters>]

Parameters (3)

ParameterTypeRequiredWhat it controls
-EndTimeInUtc DateTime Specifies the end time in UTC to search for monitoring errors. If no end time is given, the default value current time in UTC is used.
-ProductId Guid yes Specifies the application's GUID.
-StartTimeInUtc DateTime Specifies the start time in UTC to search for monitoring errors. If no start time is given, the default value 72 hours before the current time is used.

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