Table of Contents

Get-PnPTenantCdnPolicies

SYNOPSIS

Required Permissions

  • SharePoint: Access to the SharePoint Tenant Administration site

Returns the CDN Policies for the specified CDN (Public | Private).

SYNTAX

Get-PnPTenantCdnPolicies -CdnType <SPOTenantCdnType> [-Connection <PnPConnection>] 

DESCRIPTION

Retrieves the current CDN policies for the tenant for the specified CDN type.

EXAMPLES

EXAMPLE 1

Get-PnPTenantCdnPolicies -CdnType Public

Returns the policies for the specified CDN type

PARAMETERS

-CdnType

The type of cdn to retrieve the policies from

Type: SPOTenantCdnType
Parameter Sets: (All)
Accepted values: Public, Private

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Connection

Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Type: PnPConnection
Parameter Sets: (All)

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Microsoft 365 Patterns and Practices