Commands › SharePoint Online

Start-SPOEnterpriseAppInsightsReport

SharePoint Online Microsoft.Online.SharePoint.PowerShell Start-*

This cmdlet enables administrator to trigger the build of a new enterprise application insights report for the last N days.

Quick start script

# Start-SPOEnterpriseAppInsightsReport — 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
Start-SPOEnterpriseAppInsightsReport | Format-List

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

Syntax

Start-SPOEnterpriseAppInsightsReport [-Force] [-ReportPeriodInDays <Int32>] [-WhatIf] [-Confirm]
 [<CommonParameters>]

Parameters (4)

ParameterTypeRequiredWhat it controls
-Force SwitchParameter It is an optional parameter which is used to bypass confirmation prompts and execute the command without interruptions.
-ReportPeriodInDays Int32 It is an optional parameter, and it specifies the duration of the enterprise application insights report in days. The possible values of ReportPeriodInDays are: 1, 7, 14, 28. If this parameter is not provided, it...
-Confirm SwitchParameter Prompts you for confirmation before running the cmdlet.
-WhatIf SwitchParameter Shows what would happen if the cmdlet runs. The cmdlet is not run.

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