Commands › SharePoint Online

Get-SPOTenantCdnPolicies

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

Get the public or private Policies applied on your SharePoint Online Tenant. Requires Tenant administrator permissions.

Quick start script

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

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

Syntax

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

Parameters (1)

ParameterTypeRequiredWhat it controls
-CdnType SPOTenantCdnType yes Type of CDN on the current SPO Tenant (Public,Private)

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