Commands › SharePoint Online

Get-SPOCopilotAgentInsightsReport

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

This cmdlet enables the administrator to check status of all active and available reports when no report ID is present and to view or download a report if report ID is present. > [!NOTE] > The feature associated with this cmdlet will be rolling out soon.

Quick start script

# Get-SPOCopilotAgentInsightsReport — 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-SPOCopilotAgentInsightsReport | Format-List

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

Syntax

Get-SPOCopilotAgentInsightsReport [-ReportId <Guid>] [-Action <ActionType>]
 [-Content <SPOCopilotAgentInsightType>] [<CommonParameters>]

Parameters (3)

ParameterTypeRequiredWhat it controls
-Action ActionType It determines whether a report would be viewed or downloaded. If the value of `-Action` is set as `View`, it will display the output on the PowerShell screen. Else if the value of `-Action` is set as `Download`, it...
-Content SPOCopilotAgentInsightType Specifies the type of report to view or download. Valid values are:
-ReportId Guid It specifies the unique Id of the report to be viewed or downloaded.

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