Commands › SharePoint Online

Get-SPOTenant

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

Returns SharePoint Online organization properties.

Quick start script

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

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

Syntax

Get-SPOTenant [<CommonParameters>]

Message Center changes mentioning this command

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