Test-PnPTenantTemplate

Tests a tenant template for invalid references

Syntax

Test-PnPTenantTemplate
    -Template <ProvisioningHierarchy>
                          [-Connection <SPOnlineConnection>]

Examples

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

Test-PnPTenantTemplate -Template $myTemplate

Checks for valid template references

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.

Only applicable to: SharePoint Online

Type:SPOnlineConnection
Position:Named
Accept pipeline input:False
Accept wildcard characters:False
-Template

The in-memory template to test

Only applicable to: SharePoint Online

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