Commands › SharePoint Online

Get-SPOTenantPreAuthSettings

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

Gets the configuration of pre-authentication.

Quick start script

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

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

Syntax — 2 parameter sets

Default

Get-SPOTenantPreAuthSettings [<CommonParameters>]

UseGraphUrlSettings

Get-SPOTenantPreAuthSettings [-UseGraphUrlSettings] [<CommonParameters>]

Parameters (1)

ParameterTypeRequiredWhat it controls
-UseGraphUrlSettings SwitchParameter Returns the configuration that controls whether supported Microsoft Graph file APIs return Microsoft Graph URLs for configured applications.

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.