pnpframework icon indicating copy to clipboard operation
pnpframework copied to clipboard

Invoke-PnpSiteTemplate infers that you are applying the template to the top level site and not the site you connected to.

Open CyberneticNomad-v808 opened this issue 1 year ago • 0 comments

Connect-PnpOnline -Url "https://tenantname.sharepoint.com/sites/sitename -Interactive -ClientId <ClientID> Followed by: Invoke-PnpSiteTemplate -Path .\TeamTemplate.pnp

The progress bar states that I am updating "https://tenantname.sharepoint.com" and doesn't mention the name of the site. This led me to believe I was modifying the top-level site for the entire company, not the one-team site.

CyberneticNomad-v808 avatar Sep 21 '24 17:09 CyberneticNomad-v808