When we provision a site using PnP template, somehow welcome
page is not being set, to set the welcome page for a site use the below command
after provisioning of the site is been completed.
Connect-PnPonline -Url $siteURL -Credentials $cred
Set-PnPHomePage
-RootFolderRelativeUrl SitePages/Default.aspx
No comments:
Post a Comment