Table of Contents

Add-PnPSiteTemplate

SYNOPSIS

Adds a PnP Site Template object to a tenant template

SYNTAX

Add-PnPSiteTemplate -SiteTemplate <SiteTemplate> -TenantTemplate <ProvisioningHierarchy> 

DESCRIPTION

Allows to add PnP Site Template object to a tenant template.

EXAMPLES

EXAMPLE 1

Add-PnPSiteTemplate -TenantTemplate $tenanttemplate -SiteTemplate $sitetemplate

Adds an existing site template to an existing tenant template object

PARAMETERS

-SiteTemplate

The template to add to the tenant template

Type: SiteTemplate
Parameter Sets: (All)

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

-TenantTemplate

The tenant template to add the template to

Type: ProvisioningHierarchy
Parameter Sets: (All)

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

Microsoft 365 Patterns and Practices