Commands › SharePoint Online

Get-SPOTenantLogLastAvailableTimeInUtc

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

Returns the most recent time when the SharePoint Online organization logs were collected.

Quick start script

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

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

Syntax

Get-SPOTenantLogLastAvailableTimeInUtc [<CommonParameters>]

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