This setup package is designed to either create a fresh new install or upgrade existing setup.
A recent version of PnP Powershell is needed to be installed (It should support PnP Tenant Templates)
To install the latest version of PnP PowerShell, the following command can be used
Install-Module SharePointPnPPowershellOnline -Force
The script setup.ps1
is located here
- tenantName: REQUIRED The name of the target tenant (e.g.
contoso
if the tenant URL is https://contoso.sharepoint.com) - sitePath: OPTIONAL The URL path of the Site Designs Studio site (e.g.
SiteDesignsStudio
in https://contoso.sharepoint.com/sites/SiteDesignsStudio) - credentialsName: OPTIONAL The name of the Generic credentials to used (if saved in Windows Credential Manager)
# Basic command
.\setup.ps1 -tenantName contoso
# Configuring the path of the site in the URL
.\setup.ps1 -tenantName contoso -sitePath SDStudio
# Using generic credentials registered in Windows Credential Manager
.\setup.ps1 -tenantName contoso -credentialsName MyCreds
Note
Support for MFA using PnP PowerShell -WebLogin parameter has been retired since it was causing issues when applying the PnP templates. an alternative solution will be provided soon.
Coming soon