Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Invoke-SPOSiteDesign

Applies a published site design to a specified site collection target. This allows a site design to be applied to an existing site collection. The supported site templates you can apply a site design to include: "modern" team site (with O365 group), "modern" team site (without an O365 group); communication site; classic team site; and classic publishing site.

Syntax

Default (Default)

Invoke-SPOSiteDesign
 -Identity <SPOSiteDesignPipeBind>
 -WebUrl <String>
 [<CommonParameters>]

Description

Applies a published site design to a specified site collection target. This allows a site design to be applied to an existing site collection.

Examples

Example 1

This example applies a site design whose script creates two lists, formats several of the columns, adds the lists to the site navigation, and then joins the site to an existing hub site.

Invoke-SPOSiteDesign -Identity 501z8c32-4147-44d4-8607-26c2f67cae82 -WebUrl "https://contoso.sharepoint.com/sites/projectgo"

Title Outcome
---------------------------------------------- -------
Create or update list Project Activities Success
Update list description Success
Create column Project Status Success
Create column Effort (days) Success
Set custom formatter for field Project Status Success
Set custom formatter for field Effort (days) Success
Create or update list Project Collateral Success
Create column Due Date Success
Set custom formatter for field Due Date Success
Add Project Activities to left nav Success
Add Project Collateral to left nav Success
Add to Hub Site Success

Parameters

-Identity

Applicable: SharePoint Online

The ID of the site design to apply.

Parameter properties

Type:Microsoft.Online.SharePoint.PowerShell.SPOSiteDesignPipeBind
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-WebUrl

Applicable: SharePoint Online The URL of the site collection where the site design will be applied.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

Microsoft.Online.SharePoint.PowerShell.SPOSiteDesignPipeBind

Outputs

System.Object


Feedback

Was this page helpful?