en-US

SPOTenantCdnEnabled

Applies to : SharePoint Online

Enables or disables Public content delivery network (CDN) or Private CDN on the tenant level. Requires Tenant administrator permissions.

Enables or disables Public content delivery network (CDN) or Private CDN on the tenant level.

Available cmdlets

Parameters

Name Type Default value Accepted values
CdnType Microsoft.Online.SharePoint.PowerShell.SPOTenantCdnTypeClient Public, Private, Both
Enable System.Boolean
NoDefaultOrigins System.Management.Automation.SwitchParameter

Examples

EXAMPLE 1

Set-SPOTenantCdnEnabled -CdnType public -Enable $true

The example enables a CDN.

Microsoft Learn documentation