Commands › SharePoint Online
Export-SPODataAccessGovernanceInsight
This cmdlet downloads the Data Access Governance (DAG) reports to the specified path. The default is the "Downloads" folder.
Quick start script
# Export-SPODataAccessGovernanceInsight — 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
Export-SPODataAccessGovernanceInsight -ReportID <Guid> | Format-List
# 3. Export for evidence / drift tracking
Export-SPODataAccessGovernanceInsight | Export-Clixml .\SPODataAccessGovernanceInsight-$(Get-Date -Format yyyyMMdd).xml
Syntax
Export-SPODataAccessGovernanceInsight -ReportID <Guid> [-DownloadPath <String>] [<CommonParameters>]
Parameters (2)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.