Commands › SharePoint Online
Export-SPOUserInfo
Export user information from site user information list.
Quick start script
# Export-SPOUserInfo — 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-SPOUserInfo -LoginName <String> -Site <SpoSitePipeBind> | Format-List
# 3. Export for evidence / drift tracking
Export-SPOUserInfo | Export-Clixml .\SPOUserInfo-$(Get-Date -Format yyyyMMdd).xml
Syntax
Export-SPOUserInfo -LoginName <String> -Site <SpoSitePipeBind> [-OutputFolder <String>] [<CommonParameters>]
Parameters (3)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.