Search Results for

    Show / Hide Table of Contents

    Remove-PnPTenantCdnOrigin

    SYNOPSIS

    Required Permissions

    • SharePoint: Access to the SharePoint Tenant Administration site

    Removes an origin from the Public or Private content delivery network (CDN).

    SYNTAX

    Remove-PnPTenantCdnOrigin -OriginUrl <String> -CdnType <SPOTenantCdnType> [-Connection <PnPConnection>]
     
    

    DESCRIPTION

    Removes an origin from the Public or Private content delivery network (CDN).

    You must be a SharePoint Online Administrator to run the cmdlet.

    EXAMPLES

    EXAMPLE 1

    Remove-PnPTenantCdnOrigin -OriginUrl /sites/site/subfolder -CdnType Public
    

    This example removes the specified origin from the public CDN.

    PARAMETERS

    -CdnType

    The cdn type to remove the origin 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
    

    -OriginUrl

    The origin to remove.

    Type: String
    Parameter Sets: (All)
    
    Required: True
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    RELATED LINKS

    Microsoft 365 Patterns and Practices

    Back to top Generated by DocFX spacer