Commands › SharePoint Online

Get-SPOTenantCdnOrigins

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

Lists all the configured origins under the tenancy or under a given site. You must be a SharePoint Online administrator to run this cmdlet.

Quick start script

# Get-SPOTenantCdnOrigins — 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-SPOTenantCdnOrigins -CdnType <SPOTenantCdnType> | Format-List

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

Syntax

Get-SPOTenantCdnOrigins -CdnType <SPOTenantCdnType> [<CommonParameters>]

Parameters (1)

ParameterTypeRequiredWhat it controls
-CdnType SPOTenantCdnType yes Specifies the CDN type. The valid values are: Public or Private.

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