Add-PnPProvisioningTemplate

Adds a PnP Provisioning Template object to a tenant template

Syntax

Add-PnPProvisioningTemplate
   -SiteTemplate <ProvisioningTemplate>
                              -TenantTemplate <ProvisioningHierarchy>

Examples

------------------EXAMPLE 1------------------

Add-PnpProvisioningTemplate -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:ProvisioningTemplate
Aliases:Template
Position:Named
Accept pipeline input:False
Accept wildcard characters:False
-TenantTemplate

The tenant template to add the template to

Type:ProvisioningHierarchy
Aliases:Hierarchy
Position:Named
Accept pipeline input:True
Accept wildcard characters:False