Commands › SharePoint Online
Get-SPOM365AgentAccessInsightsReport
This cmdlet enables the administrator to check status of all active and available analytics 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-SPOM365AgentAccessInsightsReport — 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-SPOM365AgentAccessInsightsReport | Format-List
# 3. Export for evidence / drift tracking
Get-SPOM365AgentAccessInsightsReport | Export-Clixml .\SPOM365AgentAccessInsightsReport-$(Get-Date -Format yyyyMMdd).xml
Parameters (3)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.