Table of Contents

Remove-PnPTenantTheme

SYNOPSIS

Required Permissions

  • SharePoint: Access to the SharePoint Tenant Administration site

Removes a theme.

SYNTAX

Remove-PnPTenantTheme [-Identity] <ThemePipeBind> [-Connection <PnPConnection>] 

DESCRIPTION

Removes the specified theme from the tenant configuration.

EXAMPLES

EXAMPLE 1

Remove-PnPTenantTheme -Name "MyCompanyTheme"

Removes the specified theme.

PARAMETERS

-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

-Identity

The name of the theme to remove.

Type: ThemePipeBind
Parameter Sets: (All)
Aliases: Name

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

Microsoft 365 Patterns and Practices